59 references to RestrictedMemberSlot
System.Data.Entity (59)
System\Data\Mapping\ViewGeneration\CellCreator.cs (3)
107
.Select(restriction => restriction.
RestrictedMemberSlot
.MemberPath).Contains(boolMember)))
215
.Where(restriction => restriction.
RestrictedMemberSlot
.MemberPath.Equals(memberToExpand))
218
.Where(restriction => restriction.
RestrictedMemberSlot
.MemberPath.Equals(rightSidePath))
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQuery.cs (1)
178
varHashCode ^= MemberPath.EqualityComparer.GetHashCode(oneOf.
RestrictedMemberSlot
.MemberPath);
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryProcessor.cs (1)
120
MemberPath conditionMember = variableCondition.
RestrictedMemberSlot
.MemberPath;
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (1)
1256
select ((MemberRestriction)domainConstraint.Variable.Identifier).
RestrictedMemberSlot
.MemberPath;
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (1)
438
if (TryGetCellTreeNode(oneOf.
RestrictedMemberSlot
.MemberPath, value, out singleNode))
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (7)
326
MemberProjectedSlot slot = MemberProjectedSlot.GetSlotForMember(m_projectedSlots, restriction.
RestrictedMemberSlot
.MemberPath);
346
if (MemberProjectedSlot.GetSlotForMember(associationCell.GetLeftQuery(target).ProjectedSlots, restriction.
RestrictedMemberSlot
.MemberPath) != null)
359
restriction.
RestrictedMemberSlot
.MemberPath.PathToString(false)));
550
slots.Add(restriction.
RestrictedMemberSlot
);
680
IEnumerable<Constant> possibleValues = domainMap.GetDomain(restriction.
RestrictedMemberSlot
.MemberPath);
696
domainMap.AddSentinel(newOneOf.
RestrictedMemberSlot
.MemberPath);
703
domainMap.RemoveSentinel(newOneOf.
RestrictedMemberSlot
.MemberPath);
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (3)
352
MemberProjectedSlot slot = restriction.
RestrictedMemberSlot
;
400
foreach (MemberProjectedSlot sSlot in sQuery.GetConjunctsFromWhereClause().Select(oneOfConst => oneOfConst.
RestrictedMemberSlot
))
469
.Where(restriction => MemberPath.EqualityComparer.Equals(restriction.
RestrictedMemberSlot
.MemberPath, slot.MemberPath))
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (1)
88
MemberPath memberPath = condition.
RestrictedMemberSlot
.MemberPath;
System\Data\Mapping\ViewGeneration\Structures\MemberRestriction.cs (3)
93
/// Returns the values that <see cref="
RestrictedMemberSlot
"/> is being checked for.
135
MemberPath member =
RestrictedMemberSlot
.MemberPath;
318
EdmType memberType =
RestrictedMemberSlot
.MemberPath.EdmType;
System\Data\Mapping\ViewGeneration\Structures\ScalarRestriction.cs (22)
63
IEnumerable<Constant> newPossibleValues = memberDomainMap.GetDomain(
RestrictedMemberSlot
.MemberPath);
64
BoolLiteral newLiteral = new ScalarRestriction(
RestrictedMemberSlot
, new Domain(range, newPossibleValues));
70
MemberProjectedSlot newVar = (MemberProjectedSlot)this.
RestrictedMemberSlot
.RemapSlot(remap);
77
return new ScalarRestriction(this.
RestrictedMemberSlot
, new Domain(this.Domain.Values, possibleValues));
94
cqt = negated.AsCqt(row, domainValues, this.
RestrictedMemberSlot
.MemberPath, skipIsNotNull);
101
cqt = this.
RestrictedMemberSlot
.MemberPath.AsCqt(row);
105
cqt = cqt.Equal(domainValues.Single().AsCqt(row, this.
RestrictedMemberSlot
.MemberPath));
110
List<DbExpression> operands = domainValues.Select(c => (DbExpression)cqt.Equal(c.AsCqt(row, this.
RestrictedMemberSlot
.MemberPath))).ToList();
118
DbExpression varIsNotNull = this.
RestrictedMemberSlot
.MemberPath.AsCqt(row).IsNull().Not();
125
DbExpression varIsNull = this.
RestrictedMemberSlot
.MemberPath.AsCqt(row).IsNull();
153
negated.AsUserString(builder, blockAlias, domainValues,
RestrictedMemberSlot
.MemberPath, skipIsNotNull);
157
negated.AsEsql(builder, blockAlias, domainValues,
RestrictedMemberSlot
.MemberPath, skipIsNotNull);
164
this.
RestrictedMemberSlot
.MemberPath.AsEsql(builder, blockAlias);
175
domainValues.Single().AsEsql(builder,
RestrictedMemberSlot
.MemberPath, blockAlias);
195
constant.AsEsql(builder,
RestrictedMemberSlot
.MemberPath, blockAlias);
214
this.
RestrictedMemberSlot
.MemberPath.ToCompactString(builder, Strings.ViewGen_EntityInstanceToken);
219
this.
RestrictedMemberSlot
.MemberPath.AsEsql(builder, blockAlias);
235
this.
RestrictedMemberSlot
.MemberPath.ToCompactString(varIsNullBuilder, blockAlias);
240
this.
RestrictedMemberSlot
.MemberPath.AsEsql(varIsNullBuilder, blockAlias);
266
Debug.Assert(this.
RestrictedMemberSlot
.MemberPath.IsScalarType(), "Expected scalar.");
305
bool excludeNull = !skipIsNotNull && this.
RestrictedMemberSlot
.MemberPath.IsNullable;
333
RestrictedMemberSlot
.ToCompactString(builder);
System\Data\Mapping\ViewGeneration\Structures\TypeRestriction.cs (13)
62
IEnumerable<Constant> possibleValues = memberDomainMap.GetDomain(
RestrictedMemberSlot
.MemberPath);
63
BoolLiteral newLiteral = new TypeRestriction(
RestrictedMemberSlot
, new Domain(range, possibleValues));
69
MemberProjectedSlot newVar = (MemberProjectedSlot)this.
RestrictedMemberSlot
.RemapSlot(remap);
76
return new TypeRestriction(this.
RestrictedMemberSlot
, new Domain(this.Domain.Values, possibleValues));
100
if (Helper.IsRefType(this.
RestrictedMemberSlot
.MemberPath.EdmType))
103
this.
RestrictedMemberSlot
.MemberPath.AsEsql(builder, blockAlias);
109
this.
RestrictedMemberSlot
.MemberPath.AsEsql(builder, blockAlias);
134
DbExpression cqt = this.
RestrictedMemberSlot
.MemberPath.AsCqt(row);
136
if (Helper.IsRefType(this.
RestrictedMemberSlot
.MemberPath.EdmType))
160
if (Helper.IsRefType(
RestrictedMemberSlot
.MemberPath.EdmType))
163
RestrictedMemberSlot
.MemberPath.AsEsql(builder, blockAlias);
169
RestrictedMemberSlot
.MemberPath.AsEsql(builder, blockAlias);
234
RestrictedMemberSlot
.ToCompactString(builder);
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (2)
125
if (condition.
RestrictedMemberSlot
.MemberPath.Equals(member))
200
MemberPath memberPath = condition.
RestrictedMemberSlot
.MemberPath;
System\Data\Mapping\ViewGeneration\ViewgenContext.cs (1)
270
wrapper.OnlyInputCell.CQuery.WhereClause.MemberRestrictions.Select(oneOf => oneOf.
RestrictedMemberSlot
.MemberPath),