94 references to MemberPath
System.Data.Entity (94)
System\Data\Mapping\ViewGeneration\CellCreator.cs (5)
107
.Select(restriction => restriction.RestrictedMemberSlot.
MemberPath
).Contains(boolMember)))
125
var cSideMembers = cell.SQuery.GetProjectedPositions(sSideMemberToExpand).Select(pos => ((MemberProjectedSlot)cell.CQuery.ProjectedSlotAt(pos)).
MemberPath
);
206
MemberPath rightSidePath = rightConditionMemberSlot.
MemberPath
;
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 (8)
300
IEnumerable<Constant> possibleValues = memberMaps.QueryDomainMap.GetDomain(joinSlot.
MemberPath
);
314
MemberRestriction restriction = new ScalarRestriction(joinSlot.
MemberPath
, allowedValues, possibleValues);
329
if (projectedSlot == null || !projectedSlot.
MemberPath
.IsNullable) //don't bother checking further fore non nullable C-side member
335
IEnumerable<Constant> possibleValues = memberMaps.QueryDomainMap.GetDomain(projectedSlot.
MemberPath
);
340
MemberRestriction restriction = new ScalarRestriction(projectedSlot.
MemberPath
, allowedValues, possibleValues);
438
if (TryGetCellTreeNode(oneOf.RestrictedMemberSlot.
MemberPath
, value, out singleNode))
519
if (!MemberPath.EqualityComparer.Equals(thisSlot.
MemberPath
, thatSlot.
MemberPath
))
System\Data\Mapping\ViewGeneration\Structures\CaseStatement.cs (2)
119
Debug.Assert(m_memberPath.Equals(((MemberProjectedSlot)m_elseValue).
MemberPath
), "case statement slot (ELSE) must depend only on its own slot value");
126
Debug.Assert(m_memberPath.Equals(((MemberProjectedSlot)whenThen.Value).
MemberPath
), "case statement slot (THEN) must depend only on its own slot value");
System\Data\Mapping\ViewGeneration\Structures\Cell.cs (1)
142
cSideMembers.Add((EdmProperty)slot.
MemberPath
.LeafEdmMember);
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (16)
310
return slot0.
MemberPath
.IsEquivalentViaRefConstraint(slot1.
MemberPath
);
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)));
409
int newSlotNum = projectedSlotMap.IndexOf(slot.
MemberPath
);
448
attributes.Add(projectedVar.
MemberPath
);
525
yield return slot.
MemberPath
;
577
if (slot != null && MemberPath.EqualityComparer.Equals(member, slot.
MemberPath
))
615
if (slot != null && slot.
MemberPath
.RootEdmMember.Equals(endMember))
680
IEnumerable<Constant> possibleValues = domainMap.GetDomain(restriction.RestrictedMemberSlot.
MemberPath
);
696
domainMap.AddSentinel(newOneOf.RestrictedMemberSlot.
MemberPath
);
703
domainMap.RemoveSentinel(newOneOf.RestrictedMemberSlot.
MemberPath
);
794
slot.
MemberPath
.GetIdentifiers(identifiers);
898
StructuralType st = jtn.
MemberPath
.LeafEdmMember.DeclaringType;
900
jtn.
MemberPath
.AsEsql(sb, "e");
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (7)
353
CellConstantSet cDomain = DeriveDomainFromMemberPath(slot.
MemberPath
, edmItemCollection, isValidationEnabled);
358
bool found = cDomainMap.TryGetValue(slot.
MemberPath
, out values);
361
cDomainMap[slot.
MemberPath
] = cDomain;
375
CellConstantSet domainValues = DeriveDomainFromMemberPath(slot.
MemberPath
, edmItemCollection, true /* leaveDomainUnbounded */);
437
MemberPath sSlotMemberPath = sSlot.
MemberPath
;
469
.Where(restriction => MemberPath.EqualityComparer.Equals(restriction.RestrictedMemberSlot.
MemberPath
, slot.
MemberPath
))
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (1)
279
MemberPath path = slot.
MemberPath
;
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (4)
88
MemberPath memberPath = condition.RestrictedMemberSlot.
MemberPath
;
144
MemberPath member = slot.
MemberPath
;
281
MemberPath cPath = cSlot.
MemberPath
;
282
MemberPath sPath = sSlot.
MemberPath
;
System\Data\Mapping\ViewGeneration\Structures\MemberProjectedSlot.cs (3)
126
if (remap.TryGetValue(
MemberPath
, out remappedNode))
132
return new MemberProjectedSlot(
MemberPath
);
183
if (MemberPath.EqualityComparer.Equals(slot.
MemberPath
, member))
System\Data\Mapping\ViewGeneration\Structures\MemberRestriction.cs (4)
114
IEnumerable<Constant> domain = domainMap.GetDomain(m_restrictedMemberSlot.
MemberPath
);
135
MemberPath member = RestrictedMemberSlot.
MemberPath
;
285
string variableName = m_restrictedMemberSlot.
MemberPath
.PathToString(false);
318
EdmType memberType = RestrictedMemberSlot.
MemberPath
.EdmType;
System\Data\Mapping\ViewGeneration\Structures\ScalarRestriction.cs (18)
63
IEnumerable<Constant> newPossibleValues = memberDomainMap.GetDomain(RestrictedMemberSlot.
MemberPath
);
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;
System\Data\Mapping\ViewGeneration\Structures\TypeRestriction.cs (9)
62
IEnumerable<Constant> possibleValues = memberDomainMap.GetDomain(RestrictedMemberSlot.
MemberPath
);
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);
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (4)
125
if (condition.RestrictedMemberSlot.
MemberPath
.Equals(member))
164
MemberPath rightmember = ((MemberProjectedSlot)rightCellQuery.ProjectedSlotAt(indexOfMemberInProjection)).
MemberPath
;
200
MemberPath memberPath = condition.RestrictedMemberSlot.
MemberPath
;
295
return ((MemberProjectedSlot)leftCellQuery.ProjectedSlotAt(firstProjectedPosition)).
MemberPath
;
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (2)
695
childPaths.Add(childSlot.
MemberPath
);
718
parentPaths.Add(parentSlot.
MemberPath
);
System\Data\Mapping\ViewGeneration\Validation\ViewKeyConstraint.cs (6)
78
MemberPath path1 = firstSlot.CSlot.
MemberPath
;
79
MemberPath path2 = secondSlot.CSlot.
MemberPath
;
105
EntitySetBase table = keySlots[0].SSlot.
MemberPath
.Extent;
106
EntitySetBase cSet = keySlots[0].CSlot.
MemberPath
.Extent;
155
EntitySetBase table = keySlots[0].SSlot.
MemberPath
.Extent;
156
EntitySetBase cSet = keySlots[0].CSlot.
MemberPath
.Extent;
System\Data\Mapping\ViewGeneration\ViewgenContext.cs (1)
270
wrapper.OnlyInputCell.CQuery.WhereClause.MemberRestrictions.Select(oneOf => oneOf.RestrictedMemberSlot.
MemberPath
),