9 instantiations of ConstantProjectedSlot
System.Data.Entity (9)
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (4)
367
projectedSlot = new
ConstantProjectedSlot
(domainValue, currentPath);
527
new
ConstantProjectedSlot
(Constant.Undefined, currentPath));
619
caseStatement.AddWhenThen(BoolExpression.True, new
ConstantProjectedSlot
(defaultValue, currentPath));
791
caseStmt.AddWhenThen(BoolExpression.True, new
ConstantProjectedSlot
(typeConstant, memberPath));
System\Data\Mapping\ViewGeneration\Structures\CaseStatement.cs (1)
208
m_elseValue = new
ConstantProjectedSlot
(Constant.Null, m_memberPath);
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (1)
149
ConstantProjectedSlot defaultValue = new
ConstantProjectedSlot
(Domain.GetDefaultValueForMemberPath(memberPath, GetLeaves(), ViewgenContext.Config), memberPath);
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (3)
256
new
ConstantProjectedSlot
(Constant.Null, memberPath), memberPath);
288
new
ConstantProjectedSlot
(Constant.Null, slotInfo.OutputMember), slotInfo.OutputMember);
505
slot = new
ConstantProjectedSlot
(Domain.GetDefaultValueForMemberPath(memberPath, GetLeaves(), ViewgenContext.Config), memberPath);
19 references to ConstantProjectedSlot
System.Data.Entity (19)
System\Data\Mapping\ViewGeneration\CqlGenerator.cs (1)
361
if (!(slot is
ConstantProjectedSlot
))
System\Data\Mapping\ViewGeneration\Structures\CaseStatement.cs (8)
157
ConstantProjectedSlot
constantSlot = slot as
ConstantProjectedSlot
;
188
ConstantProjectedSlot
constantSlot = clause.Value as
ConstantProjectedSlot
;
292
Debug.Assert(slot is MemberProjectedSlot || slot is QualifiedSlot || slot is
ConstantProjectedSlot
,
320
Debug.Assert(slot is MemberProjectedSlot || slot is QualifiedSlot || slot is
ConstantProjectedSlot
,
359
ConstantProjectedSlot
constantSlot = slot as
ConstantProjectedSlot
;
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (1)
373
internal void FixMissingSlotAsDefaultConstant(int slotNumber,
ConstantProjectedSlot
slot)
System\Data\Mapping\ViewGeneration\Structures\ConstantProjectedSlot.cs (2)
74
ConstantProjectedSlot
rightSlot = right as
ConstantProjectedSlot
;
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (1)
149
ConstantProjectedSlot
defaultValue = new ConstantProjectedSlot(Domain.GetDefaultValueForMemberPath(memberPath, GetLeaves(), ViewgenContext.Config), memberPath);
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (2)
300
if (slot == null || slot is
ConstantProjectedSlot
)
318
if (slot == null || slot is
ConstantProjectedSlot
)
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (4)
538
ConstantProjectedSlot
constantSlot = slot as
ConstantProjectedSlot
;
568
ConstantProjectedSlot
constantSlot = childSlot as
ConstantProjectedSlot
;