2 types derived from MemberRestriction
System.Data.Entity (2)
System\Data\Mapping\ViewGeneration\Structures\ScalarRestriction.cs (1)
27internal class ScalarRestriction : MemberRestriction
System\Data\Mapping\ViewGeneration\Structures\TypeRestriction.cs (1)
28internal class TypeRestriction : MemberRestriction
43 references to MemberRestriction
System.Data.Entity (43)
System\Data\Mapping\ViewGeneration\CellCreator.cs (1)
475MemberRestriction conditionExpression = null;
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQuery.cs (1)
176foreach (MemberRestriction oneOf in q.Condition.MemberRestrictions)
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryProcessor.cs (2)
116MemberRestriction variableCondition = var.Identifier as MemberRestriction;
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (2)
1254where domainConstraint.Variable.Identifier is MemberRestriction && 1256select ((MemberRestriction)domainConstraint.Variable.Identifier).RestrictedMemberSlot.MemberPath;
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (4)
314MemberRestriction restriction = new ScalarRestriction(joinSlot.MemberPath, allowedValues, possibleValues); 340MemberRestriction restriction = new ScalarRestriction(projectedSlot.MemberPath, allowedValues, possibleValues); 430MemberRestriction oneOf = (MemberRestriction)expression.Identifier.Variable.Identifier;
System\Data\Mapping\ViewGeneration\Structures\BoolExpression.cs (3)
260internal IEnumerable<MemberRestriction> MemberRestrictions 266MemberRestriction variableCondition = var.Identifier as MemberRestriction;
System\Data\Mapping\ViewGeneration\Structures\BoolExpressionVisitors.cs (2)
98MemberRestriction restriction = literal as MemberRestriction;
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (12)
185internal IEnumerable<MemberRestriction> Conditions 322foreach (MemberRestriction restriction in Conditions) 548foreach (var restriction in Conditions) 677MemberRestriction restriction = literal as MemberRestriction; 681MemberRestriction newOneOf = restriction.CreateCompleteMemberRestriction(possibleValues); 743internal IEnumerable<MemberRestriction> GetConjunctsFromWhereClause() 748internal IEnumerable<MemberRestriction> GetConjunctsFromOriginalWhereClause() 754private IEnumerable<MemberRestriction> GetConjunctsFromWhereClause(BoolExpression whereClause) 762MemberRestriction result = boolExpr.AsLiteral as MemberRestriction; 774foreach (MemberRestriction restriction in GetConjunctsFromWhereClause())
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (1)
350foreach (MemberRestriction restriction in cQuery.GetConjunctsFromWhereClause())
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (1)
84foreach (MemberRestriction condition in cellQuery.GetConjunctsFromWhereClause())
System\Data\Mapping\ViewGeneration\Structures\MemberRestriction.cs (5)
127internal abstract MemberRestriction CreateCompleteMemberRestriction(IEnumerable<Constant> possibleValues); 145MemberRestriction rightRestriction= right as MemberRestriction; 177MemberRestriction rightOneOfConst = right as MemberRestriction;
System\Data\Mapping\ViewGeneration\Structures\ScalarRestriction.cs (2)
25/// See the comments in <see cref="MemberRestriction"/> for complete and incomplete restriction objects. 74internal override MemberRestriction CreateCompleteMemberRestriction(IEnumerable<Constant> possibleValues)
System\Data\Mapping\ViewGeneration\Structures\TypeRestriction.cs (3)
26/// See the comments in <see cref="MemberRestriction"/> for complete and incomplete restriction objects. 57/// Requires: <see cref="MemberRestriction.IsComplete"/> is true. 73internal override MemberRestriction CreateCompleteMemberRestriction(IEnumerable<Constant> possibleValues)
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (4)
96foreach (var restriction in cell.CQuery.Conditions) 123foreach (MemberRestriction condition in cellQuery.GetConjunctsFromWhereClause()) 198foreach (MemberRestriction condition in cellQuery.GetConjunctsFromWhereClause()) 607foreach (var restriction in cell.CQuery.Conditions)