24 references to CreateLiteral
System.Data.Entity (24)
System\Data\Mapping\ViewGeneration\CellCreator.cs (5)
240
BoolExpression leftQueryWhereClause = BoolExpression.
CreateLiteral
(new ScalarRestriction(memberToExpand, new ScalarConstant(conditionValue)), null);
243
BoolExpression rightQueryWhereClause = BoolExpression.
CreateLiteral
(new ScalarRestriction(rightSidePath, new ScalarConstant(conditionValue)), null);
330
cQueryWhereClause = BoolExpression.
CreateLiteral
(new TypeRestriction(cRootExtent, allTypes), null);
419
BoolExpression complexInTypes = BoolExpression.
CreateLiteral
(new TypeRestriction(complexMemberNode, allTypes), null);
496
return BoolExpression.
CreateLiteral
(conditionExpression, null);
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQuery.cs (2)
123
return BoolExpression.
CreateLiteral
(new TypeRestriction(new MemberProjectedSlot(path),
128
return BoolExpression.
CreateLiteral
(new ScalarRestriction(new MemberProjectedSlot(path),
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryKB.cs (10)
46
BoolExpression assocSetExpr = BoolExpression.
CreateLiteral
(new RoleBoolean(assocSet), domainMap);
69
BoolExpression inRoleExpression = BoolExpression.
CreateLiteral
(new RoleBoolean(end), domainMap);
71
BoolExpression.
CreateLiteral
(new RoleBoolean(end.EntitySet), domainMap),
119
BoolExpression inRoleExpression1 = BoolExpression.
CreateLiteral
(new RoleBoolean(assocSet.AssociationSetEnds[0]), domainMap);
120
BoolExpression inRoleExpression2 = BoolExpression.
CreateLiteral
(new RoleBoolean(assocSet.AssociationSetEnds[1]), domainMap);
147
BoolExpression fromSetExpression = BoolExpression.
CreateLiteral
(new RoleBoolean(fromEntitySet), domainMap);
148
BoolExpression toSetExpression = BoolExpression.
CreateLiteral
(new RoleBoolean(toEntitySet), domainMap);
187
nullCondition = BoolExpression.
CreateLiteral
(new ScalarRestriction(new MemberProjectedSlot(childPath),
192
nullCondition = BoolExpression.
CreateLiteral
(new TypeRestriction(new MemberProjectedSlot(childPath),
212
BoolExpression typeCondition = BoolExpression.
CreateLiteral
(new TypeRestriction(new MemberProjectedSlot(currentPath), typeDomain), domainMap);
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (1)
326
domainQueryCondition = BoolExpression.
CreateLiteral
(new TypeRestriction(new MemberProjectedSlot(_extentPath), typeDomain), _domainMap);
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (3)
87
BoolExpression inExtentCondition = BoolExpression.
CreateLiteral
(wrapper.CreateRoleBoolean(), _viewgenContext.MemberMaps.QueryDomainMap);
316
BoolExpression result = BoolExpression.CreateAnd(expression, BoolExpression.
CreateLiteral
(restriction, memberMaps.QueryDomainMap));
341
BoolExpression resultingExpr = BoolExpression.CreateAnd(expression, BoolExpression.
CreateLiteral
(restriction, memberMaps.QueryDomainMap));
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (1)
699
atoms.Add(BoolExpression.
CreateLiteral
(newOneOf, domainMap));
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (1)
583
originBool = BoolExpression.CreateOr(originBool, BoolExpression.
CreateLiteral
(boolExpr, RightDomainMap));
System\Data\Mapping\ViewGeneration\ViewgenContext.cs (1)
309
BoolExpression fromVariable = BoolExpression.
CreateLiteral
(new CellIdBoolean(m_identifiers, extentCellsList[i].CellNumber), m_memberMaps.LeftDomainMap);