15 references to IsComplexType
System.Data.Entity (15)
System\Data\Common\CommandTrees\Internal\PatternMatchRules.cs (1)
188internal static Func<DbExpression, bool> MatchComplexType { get { return (e => TypeSemantics.IsComplexType(e.ResultType)); } }
System\Data\Common\EntitySql\SemanticAnalyzer.cs (2)
972if (!TypeSemantics.IsComplexType(metadataType.TypeUsage) && 1330Debug.Assert(TypeSemantics.IsComplexType(type) || TypeSemantics.IsEntityType(type) || TypeSemantics.IsRelationshipType(type), "type must have a constructor");
System\Data\Metadata\TypeSemantics.cs (2)
329return IsEntityType(type) || IsComplexType(type); 503return (IsEntityType(type) || IsComplexType(type));
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
635!TypeSemantics.IsComplexType(toType)))
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
2071!(TypeSemantics.IsEntityType(modelType) || TypeSemantics.IsComplexType(modelType)))
System\Data\Query\PlanCompiler\ColumnMapProcessor.cs (2)
368if (md.TypeSemantics.IsComplexType(typeInfo.Type)) 512if (md.TypeSemantics.IsComplexType(type))
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (2)
2128PlanCompiler.Assert(!(md.TypeSemantics.IsComplexType(child0Type) || md.TypeSemantics.IsComplexType(child1Type)), "complex type?"); // cannot be a complex type
System\Data\Query\PlanCompiler\PreProcessor.cs (2)
1228if (op.OpType == OpType.IsNull && TypeSemantics.IsRowType(n.Child0.Op.Type) || TypeSemantics.IsComplexType(n.Child0.Op.Type)) 2434if (TypeSemantics.IsRowType(typeUsage) || TypeSemantics.IsComplexType(typeUsage))
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (1)
586else if (kv.Value.IsRootType && (md.TypeSemantics.IsEntityType(kv.Key) || md.TypeSemantics.IsComplexType(kv.Key)))
System\Data\Query\PlanCompiler\TypeUtils.cs (1)
128(md.TypeSemantics.IsComplexType(type) && !IsUdt(type)));