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