1 type derived from TypeInfo
System.Data.Entity (1)
System\Data\Query\PlanCompiler\TypeInfo.cs (1)
416
internal class RootTypeInfo :
TypeInfo
1 instantiation of TypeInfo
System.Data.Entity (1)
System\Data\Query\PlanCompiler\TypeInfo.cs (1)
79
result = new
TypeInfo
(type, superTypeInfo);
92 references to TypeInfo
System.Data.Entity (92)
System\Data\Query\PlanCompiler\ColumnMapProcessor.cs (11)
116
private ComplexTypeColumnMap CreateComplexTypeColumnMap(
TypeInfo
typeInfo, string name, ComplexTypeColumnMap superTypeColumnMap,
163
foreach (
TypeInfo
subTypeInfo in typeInfo.ImmediateSubTypes)
184
private EntityColumnMap CreateEntityColumnMap(
TypeInfo
typeInfo, string name, EntityColumnMap superTypeColumnMap,
268
foreach (
TypeInfo
subTypeInfo in typeInfo.ImmediateSubTypes)
292
private void BuildRelPropertyColumnMaps(
TypeInfo
typeInfo, bool includeSupertypeRelProperties)
319
foreach (
TypeInfo
subTypeInfo in typeInfo.ImmediateSubTypes)
344
private SimplePolymorphicColumnMap CreatePolymorphicColumnMap(
TypeInfo
typeInfo, string name)
357
TypeInfo
rootTypeInfo = typeInfo.RootType;
404
private RecordColumnMap CreateRecordColumnMap(
TypeInfo
typeInfo, string name)
431
private RefColumnMap CreateRefColumnMap(
TypeInfo
typeInfo, string name)
491
TypeInfo
typeInfo = m_typeInfo.GetTypeInfo(type);
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (39)
345
private Node BuildTypeIdAccessor(Node input,
TypeInfo
typeInfo)
420
private Node CreateTypeIdConstant(
TypeInfo
typeInfo)
443
private Node CreateTypeIdConstantForPrefixMatch(
TypeInfo
typeInfo)
456
private IEnumerable<PropertyRef> GetPropertyRefsForComparisonAndIsNull(
TypeInfo
typeInfo, OperationKind opKind)
479
TypeInfo
nestedTypeInfo = m_typeInfo.GetTypeInfo(md.Helper.GetModelTypeUsage(m));
536
private IEnumerable<PropertyRef> GetPropertyRefs(
TypeInfo
typeInfo, OperationKind opKind)
584
private IEnumerable<md.EdmProperty> GetProperties(
TypeInfo
typeInfo, OperationKind opKind)
614
private void GetPropertyValues(
TypeInfo
typeInfo, OperationKind opKind, Node input, bool ignoreMissingProperties,
699
private Node CreateTVFProjection(Node unnestNode, List<Var> unnestOpTableColumns,
TypeInfo
unnestOpTableTypeInfo, out List<Var> newVars)
835
TypeInfo
typeInfo = m_typeInfo.GetTypeInfo(v.Type);
973
TypeInfo
typeInfo = m_typeInfo.GetTypeInfo(varRefColumnMap.Var.Type);
1157
TypeInfo
typeInfo = m_typeInfo.GetTypeInfo(columnVar.Type);
1274
TypeInfo
typeInfo = m_typeInfo.GetTypeInfo(columnVar.Type);
1417
TypeInfo
typeInfo = m_typeInfo.GetTypeInfo(unnestTableColumnVar.Type);
1651
TypeInfo
typeInfo = m_typeInfo.GetTypeInfo(v.Type);
1735
TypeInfo
inputTypeInfo = m_typeInfo.GetTypeInfo(inputTypeUsage);
1736
TypeInfo
outputTypeInfo = m_typeInfo.GetTypeInfo(op.Type);
2048
private Node FlattenCaseOp(CaseOp op, Node n,
TypeInfo
typeInfo, PropertyRefList desiredProperties)
2138
TypeInfo
child0TypeInfo = m_typeInfo.GetTypeInfo(child0Type);
2139
TypeInfo
child1TypeInfo = m_typeInfo.GetTypeInfo(child1Type);
2208
TypeInfo
typeInfo = m_typeInfo.GetTypeInfo(childOpType);
2285
TypeInfo
inputTypeInfo = m_typeInfo.GetTypeInfo(((ScalarOp)n.Child0.Op).Type);
2286
TypeInfo
outputTypeInfo = m_typeInfo.GetTypeInfo(op.Type);
2350
TypeInfo
inputTypeInfo = m_typeInfo.GetTypeInfo(inputType);
2354
TypeInfo
outputTypeInfo = m_typeInfo.GetTypeInfo(outputType);
2436
TypeInfo
inputTypeInfo = m_typeInfo.GetTypeInfo(((ScalarOp)n.Child0.Op).Type);
2437
TypeInfo
outputTypeInfo = m_typeInfo.GetTypeInfo(op.Type);
2489
private static void RemoveNullSentinel(
TypeInfo
inputTypeInfo, List<md.EdmProperty> inputFields, List<Node> inputFieldValues, List<md.EdmProperty> outputFields)
2598
TypeInfo
typeInfo = m_typeInfo.GetTypeInfo(op.Type);
2606
TypeInfo
currentTypeInfo = m_typeInfo.GetTypeInfo(md.TypeUsage.Create(type));
2688
TypeInfo
typeInfo = m_typeInfo.GetTypeInfo(op.Type);
2879
TypeInfo
typeInfo = m_typeInfo.GetTypeInfo(op.Type);
2921
TypeInfo
typeInfo = m_typeInfo.GetTypeInfo(op.IsOfType);
2961
TypeInfo
typeInfo = m_typeInfo.GetTypeInfo(op.Type);
2988
private Node CreateTypeComparisonOp(Node input,
TypeInfo
typeInfo, bool isExact)
3024
private Node CreateDisjunctiveTypeComparisonOp(
TypeInfo
typeInfo, Node typeIdProperty)
3028
IEnumerable<
TypeInfo
> types = typeInfo.GetTypeHierarchy().Where(t => !t.Type.EdmType.Abstract);
3032
foreach (
TypeInfo
type in types)
3058
private Node CreateTypeEqualsOp(
TypeInfo
typeInfo, Node typeIdProperty)
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (28)
97
private Dictionary<md.TypeUsage,
TypeInfo
> m_typeInfoMap;
121
m_typeInfoMap = new Dictionary<md.TypeUsage,
TypeInfo
>(TypeUsageEqualityComparer.Instance);
255
internal
TypeInfo
GetTypeInfo(md.TypeUsage type)
261
TypeInfo
typeInfo = null;
496
private
TypeInfo
CreateTypeInfoForStructuredType(md.TypeUsage type, ExplicitDiscriminatorMap discriminatorMap)
498
TypeInfo
typeInfo;
510
TypeInfo
superTypeInfo = null;
554
typeInfo =
TypeInfo
.Create(type, superTypeInfo, discriminatorMap);
574
foreach (KeyValuePair<md.TypeUsage,
TypeInfo
> kv in m_typeInfoMap)
599
private void AssignRootTypeId(
TypeInfo
typeInfo, string typeId)
610
private void AssignTypeIdsToSubTypes(
TypeInfo
typeInfo)
614
foreach (
TypeInfo
subtype in typeInfo.ImmediateSubTypes)
629
private void AssignTypeId(
TypeInfo
typeInfo, int subtypeNum)
646
private bool NeedsTypeIdProperty(
TypeInfo
typeInfo)
658
private bool NeedsNullSentinelProperty(
TypeInfo
typeInfo)
670
private bool NeedsEntitySetIdProperty(
TypeInfo
typeInfo)
695
foreach (KeyValuePair<md.TypeUsage,
TypeInfo
> kv in m_typeInfoMap)
712
private
TypeInfo
ExplodeType(md.TypeUsage type)
716
TypeInfo
typeInfo = GetTypeInfo(type);
734
private void ExplodeType(
TypeInfo
typeInfo)
829
private void ExplodeRootStructuredTypeHelper(
TypeInfo
typeInfo)
858
TypeInfo
propertyType = ExplodeType(p.TypeUsage);
885
foreach (
TypeInfo
subTypeInfo in typeInfo.ImmediateSubTypes)
895
private void AddRelProperties(
TypeInfo
typeInfo)
907
TypeInfo
refTypeInfo = GetTypeInfo(p.ToEnd.TypeUsage);
924
foreach (
TypeInfo
subTypeInfo in typeInfo.ImmediateSubTypes)
1023
TypeInfo
typeInfo = GetTypeInfo(type);
1087
TypeInfo
innerTypeInfo = GetTypeInfo(innerType);
System\Data\Query\PlanCompiler\TypeInfo.cs (14)
57
private List<
TypeInfo
> m_immediateSubTypes; // the list of children below this type in it's type hierarchy.
58
private readonly
TypeInfo
m_superType; // the type one level up in this types type hierarchy -- the base type.
70
internal static
TypeInfo
Create(md.TypeUsage type,
TypeInfo
superTypeInfo, ExplicitDiscriminatorMap discriminatorMap)
72
TypeInfo
result;
84
protected TypeInfo(md.TypeUsage type,
TypeInfo
superType)
87
m_immediateSubTypes = new List<
TypeInfo
>();
119
internal List<
TypeInfo
> ImmediateSubTypes
130
internal
TypeInfo
SuperType
391
internal List<
TypeInfo
> GetTypeHierarchy()
393
List<
TypeInfo
> result = new List<
TypeInfo
>();
401
private void GetTypeHierarchy(List<
TypeInfo
> result)
404
foreach (
TypeInfo
subType in this.ImmediateSubTypes)