29 references to RootType
System.Data.Entity (29)
System\Data\Query\PlanCompiler\ColumnMapProcessor.cs (2)
350
typeInfo.
RootType
.DiscriminatorMap == null ? null : TrailingSpaceComparer.Instance);
357
TypeInfo rootTypeInfo = typeInfo.
RootType
;
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (10)
424
if (typeInfo.
RootType
.DiscriminatorMap != null)
426
typeIdType = md.Helper.GetModelTypeUsage(typeInfo.
RootType
.DiscriminatorMap.DiscriminatorProperty);
974
PlanCompiler.Assert(typeInfo.
RootType
.FlattenedType.Properties.Count == varInfo.NewVars.Count,
975
"Var count mismatch; Expected " + typeInfo.
RootType
.FlattenedType.Properties.Count + "; got " + varInfo.NewVars.Count + " instead.");
2600
CaseOp normalizer = m_command.CreateCaseOp(typeInfo.
RootType
.TypeIdProperty.TypeUsage);
2735
if (null == typeInfo.
RootType
.DiscriminatorMap)
2782
int nestedPropertyOffset = typeInfo.
RootType
.GetNestedStructureOffset(new SimplePropertyRef(opField));
2823
int nestedPropertyOffset = typeInfo.
RootType
.GetNestedStructureOffset(new RelPropertyRef(relProp));
2999
if (typeInfo.
RootType
.DiscriminatorMap != null)
3026
PlanCompiler.Assert(typeInfo.
RootType
.DiscriminatorMap != null, "should be used only for DiscriminatorMap type checks");
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (6)
577
if (kv.Value.
RootType
.DiscriminatorMap != null)
581
kv.Value.TypeId = kv.Value.
RootType
.DiscriminatorMap.GetTypeId(entityType);
736
ExplodeRootStructuredType(typeInfo.
RootType
);
831
RootTypeInfo rootType = typeInfo.
RootType
;
917
typeInfo.
RootType
.AddPropertyRef(nestedPropInfo.CreateNestedPropertyRef(p));
1088
result = innerTypeInfo.
RootType
.TypeIdType;
System\Data\Query\PlanCompiler\TypeInfo.cs (11)
94
m_rootType = superType.
RootType
;
200
return
RootType
.FlattenedType;
211
return
RootType
.FlattenedTypeUsage;
222
return
RootType
.EntitySetIdProperty;
233
return
RootType
.EntitySetIdProperty != null;
244
return
RootType
.NullSentinelProperty;
255
return
RootType
.NullSentinelProperty != null;
267
return
RootType
.TypeIdProperty;
278
return
RootType
.TypeIdProperty != null;
289
return
RootType
.PropertyRefList;
315
return this.
RootType
.TryGetNewProperty(propertyRef, throwIfMissing, out newProperty);