42 references to Set
System.Data.Entity (42)
System\Data\Common\Utils\Helpers.cs (2)
45
Set<Type> set1 = new
Set
<Type>(list1, comparer);
46
Set<Type> set2 = new
Set
<Type>(list2, comparer);
System\Data\Common\Utils\Set.cs (4)
44
:
this
(other._values, other.Comparer)
52
:
this
(null, null)
60
:
this
(elements, null)
68
:
this
(null, comparer)
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryProcessor.cs (1)
132
new
Set
<Constant>(new Constant[] { value }, Constant.EqualityComparer));
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (2)
285
Set<Constant> newDomain = new
Set
<Constant>(_domainMap.GetDomain(currentPath), Constant.EqualityComparer);
1258
return new
Set
<MemberPath>(memberVariables, MemberPath.EqualityComparer);
System\Data\Mapping\ViewGeneration\Structures\BoolLiteral.cs (4)
43
Set<Constant> domainSet = new
Set
<Constant>(domain, Constant.EqualityComparer);
44
Set<Constant> rangeSet = new
Set
<Constant>(range, Constant.EqualityComparer);
184
Set<Constant> variableDomain = new
Set
<Constant>(possibleValues, Constant.EqualityComparer).MakeReadOnly();
185
Set<Constant> thisDomain = new
Set
<Constant>(actualValues, Constant.EqualityComparer).MakeReadOnly();
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (7)
70
m_domain = new
Set
<Constant>(domain.m_domain, Constant.EqualityComparer);
71
m_possibleValues = new
Set
<Constant>(domain.m_possibleValues, Constant.EqualityComparer);
142
domain = new
Set
<Constant>(CreateList(true, false), Constant.EqualityComparer);
170
domain = new
Set
<Constant>(types, Constant.EqualityComparer);
470
.Select(restriction => new
CellConstantSet
(restriction.Domain.Values, Constant.EqualityComparer));
493
result = new
CellConstantSet
(restrictedDomain.Values, Constant.EqualityComparer);
531
CellConstantSet union = new
CellConstantSet
(domain1, Constant.EqualityComparer).Union(domain2);
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (2)
175
var domainMap = m_conditionDomainMap.ToDictionary(p => p.Key, p => new
Set
<Constant>(p.Value, Constant.EqualityComparer));
184
var domainMap = m_conditionDomainMap.ToDictionary(p => p.Key, p => new
Set
<Constant>(p.Value, Constant.EqualityComparer));
System\Data\Mapping\ViewGeneration\Structures\MemberRestriction.cs (2)
225
constants = new
Set
<Constant>(negatedConstant.Elements, Constant.EqualityComparer);
237
constants = new
Set
<Constant>(Domain.Values, Constant.EqualityComparer);
System\Data\Mapping\ViewGeneration\Structures\NegatedConstant.cs (2)
34
m_negatedDomain = new
Set
<Constant>(values, Constant.EqualityComparer);
177
Set<Constant> negatedConstants = new
Set
<Constant>(this.Elements, Constant.EqualityComparer);
System\Data\Mapping\ViewGeneration\Structures\ScalarRestriction.cs (1)
288
Set<Constant> domainValues = new
Set
<Constant>(this.Domain.Values, Constant.EqualityComparer);
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (2)
784
Set<MemberPath> keysOfOne = new
Set
<MemberPath>(one.Keys, MemberPath.EqualityComparer);
785
Set<MemberPath> keysOfTwo = new
Set
<MemberPath>(two.Keys, MemberPath.EqualityComparer);
System\Data\Mapping\ViewGeneration\Validation\KeyConstraint.cs (1)
29
m_keySlots = new
Set
<TSlot>(keySlots, comparer).MakeReadOnly();
System\Data\Mapping\ViewGeneration\ViewgenContext.cs (1)
269
Set<MemberPath> conditionMembers = new
Set
<MemberPath>(
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (6)
49
static private readonly Set<string> _datepartKeywords = new
Set
<string>(new string[] { "year", "yy", "yyyy",
65
static private readonly Set<string> _functionRequiresReturnTypeCastToInt64 = new
Set
<string>(new string[] { "SqlServer.CHARINDEX" },
67
static private readonly Set<string> _functionRequiresReturnTypeCastToInt32 = new
Set
<string>(new string[] { "SqlServer.LEN" ,
74
static private readonly Set<string> _functionRequiresReturnTypeCastToInt16 = new
Set
<string>(new string[] { "Edm.Abs" },
76
static private readonly Set<string> _functionRequiresReturnTypeCastToSingle = new
Set
<string>(new string[] { "Edm.Abs" ,
81
static private readonly Set<string> _maxTypeNames = new
Set
<string>(new string[] { "varchar(max)" ,
System\Data\SqlClient\SqlGen\SqlGenerator.cs (5)
301
static private readonly Set<string> _canonicalStringFunctionsOneArg = new
Set
<string>(new string[] { "Edm.Trim" ,
312
static private readonly Set<string> _canonicalStringFunctionsTwoArgs = new
Set
<string>(new string[] { "Edm.Concat" },
315
static private readonly Set<string> _canonicalStringFunctionsThreeArgs = new
Set
<string>(new string[] { "Edm.Replace" },
318
static private readonly Set<string> _storeStringFunctionsOneArg = new
Set
<string>(new string[] { "SqlServer.RTRIM" ,
328
static private readonly Set<string> _storeStringFunctionsThreeArgs = new
Set
<string>(new string[] { "SqlServer.REPLACE" },