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