52 references to TypeUtils
System.Data.Entity (52)
System\Data\Query\InternalTrees\Command.cs (1)
1453TypeUtils.CreateCollectionType(varRefColumnMap.Type), // type
System\Data\Query\InternalTrees\Metadata.cs (1)
53m_flattened = !PlanCompiler.TypeUtils.IsStructuredType(type);
System\Data\Query\PlanCompiler\ColumnMapProcessor.cs (1)
97if (!TypeUtils.IsStructuredType(type))
System\Data\Query\PlanCompiler\NestPullup.cs (2)
1739if (TypeUtils.IsUdt(collType.TypeUsage)) 2309TypeUtils.CreateCollectionType(newCollectionInfo.ColumnMap.Type),
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (22)
244newType = TypeUtils.CreateCollectionType(newElementType); 246else if (TypeUtils.IsStructuredType(type)) 473if (!TypeUtils.IsStructuredType(md.Helper.GetModelTypeUsage(m))) 784if (TypeUtils.IsStructuredType(varDefOp.Var.Type) || TypeUtils.IsCollectionType(varDefOp.Var.Type)) 823if (TypeUtils.IsCollectionType(v.Type)) 971if (TypeUtils.IsStructuredType(varRefColumnMap.Var.Type)) 983SimpleCollectionColumnMap resultColumnMap = new SimpleCollectionColumnMap(TypeUtils.CreateCollectionType(newColumnMap.Type), newColumnMap.Name, newColumnMap, columnMap.Keys, columnMap.ForeignKeys); 1329if (TypeUtils.IsCollectionType(varDefOp.Var.Type)) 1378if (!TypeUtils.IsStructuredType(unnestTableColumnVar.Type)) 1637if (TypeUtils.IsCollectionType(v.Type)) 1948if (TypeUtils.IsCollectionType(op.Type) || md.TypeSemantics.IsEnumerationType(op.Type) || md.TypeSemantics.IsStrongSpatialType(op.Type)) 1955else if (TypeUtils.IsStructuredType(op.Type)) 2120if (!TypeUtils.IsStructuredType(child0Type)) 2200if (!TypeUtils.IsStructuredType(childOpType)) 2344if (TypeUtils.IsUdt(inputType)) 2352if (TypeUtils.IsStructuredType(outputType)) 2512PlanCompiler.Assert(!TypeUtils.IsStructuredType(op.Type), 2776if (TypeUtils.IsStructuredType(md.Helper.GetModelTypeUsage(opField))) 2864if (!TypeUtils.IsStructuredType(op.Type)) 2917if (!TypeUtils.IsStructuredType(op.IsOfType)) 2952if (!TypeUtils.IsStructuredType(op.Type))
System\Data\Query\PlanCompiler\PreProcessor.cs (3)
228if (TypeUtils.IsStructuredType(type) || TypeUtils.IsCollectionType(type) || TypeUtils.IsEnumerationType(type))
System\Data\Query\PlanCompiler\PropertyPushdownHelper.cs (10)
254if (chiOp != null && TypeUtils.IsStructuredType(chiOp.Type)) 352if (!TypeUtils.IsStructuredType(childOpType)) 434if (!TypeUtils.IsStructuredType(op.Type)) 527if (TypeUtils.IsStructuredType(op.Var.Type)) 550if (TypeUtils.IsStructuredType(op.Var.Type)) 602if (TypeUtils.IsStructuredType(v.Type)) 633if (TypeUtils.IsStructuredType(v.Type)) 732if (TypeUtils.IsStructuredType(kv.Key.Type)) 771if (TypeUtils.IsStructuredType(sk.Var.Type)) 805if (TypeUtils.IsStructuredType(v.Type))
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (9)
257if (!TypeUtils.IsStructuredType(type)) 264PlanCompiler.Assert(!TypeUtils.IsStructuredType(type) || !m_typeInfoMapPopulated, 471while (TypeUtils.IsCollectionType(type)) 477if (TypeUtils.IsStructuredType(type)) 500PlanCompiler.Assert(TypeUtils.IsStructuredType(type), "expected structured type. Found " + type); 714if (TypeUtils.IsStructuredType(type)) 721if (TypeUtils.IsCollectionType(type)) 1021if (TypeUtils.IsStructuredType(type)) 1040if (TypeUtils.IsEnumerationType(type))
System\Data\Query\ResultAssembly\BridgeDataReader.cs (3)
200else if (TypeUtils.IsStructuredType(typeUsage)) { 203else if (TypeUtils.IsCollectionType(typeUsage)) { 206else if (TypeUtils.IsEnumerationType(typeUsage)) {