11 references to DiscriminatorMap
System.Data.Entity (11)
System\Data\Query\InternalTrees\OpCopier.cs (1)
462
return CopyDefault(m_destCmd.CreateDiscriminatedNewEntityOp(op.Type, op.
DiscriminatorMap
, op.EntitySet, op.RelationshipProperties), n);
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (7)
2601
List<Node> children = new List<Node>(op.
DiscriminatorMap
.TypeMap.Count * 2 - 1);
2602
for (int i = 0; i < op.
DiscriminatorMap
.TypeMap.Count; i++)
2604
object discriminatorValue = op.
DiscriminatorMap
.TypeMap[i].Key;
2605
md.EntityType type = op.
DiscriminatorMap
.TypeMap[i].Value;
2610
if (i == op.
DiscriminatorMap
.TypeMap.Count - 1)
2618
ConstantBaseOp discriminatorValueOp = m_command.CreateConstantOp(md.Helper.GetModelTypeUsage(op.
DiscriminatorMap
.DiscriminatorProperty.TypeUsage),
2704
opFields = discriminatedNewInstanceOp.
DiscriminatorMap
.Properties;
System\Data\Query\PlanCompiler\PreProcessor.cs (3)
413
discriminatorMap = discriminatedNewEntityOp.
DiscriminatorMap
;
1841
foreach (var discriminatorTypePair in op.
DiscriminatorMap
.TypeMap)
1883
Op newEntityOp = m_command.CreateDiscriminatedNewEntityOp(op.Type, op.
DiscriminatorMap
, op.EntitySet, relProperties);