12 references to IsPrimitiveType
System.Data.Entity (12)
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (1)
311
if (TypeSemantics.
IsPrimitiveType
(type))
System\Data\Common\QueryCache\EntityClientCacheKey.cs (1)
142
Debug.Assert(TypeSemantics.
IsPrimitiveType
(type), "EntityParameter TypeUsage not a primitive type?");
System\Data\Metadata\TypeHelpers.cs (1)
48
else if (TypeSemantics.
IsPrimitiveType
(typeUsage))
System\Data\Metadata\TypeSemantics.cs (1)
579
return
IsPrimitiveType
(type) && Helper.IsStrongSpatialTypeKind(((PrimitiveType)type.EdmType).PrimitiveTypeKind);
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
593
bool isPrimitiveType = TypeSemantics.
IsPrimitiveType
(fromType);
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
334
(TypeSemantics.
IsPrimitiveType
(paramType) || paramType.EdmType is EnumType));
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (2)
1798
else if (md.TypeSemantics.
IsPrimitiveType
(oldType))
1836
PlanCompiler.Assert(md.TypeSemantics.
IsPrimitiveType
(n.Child0.Op.Type), "Primitive type expected.");
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (1)
308
if (TypeSemantics.
IsPrimitiveType
(properties[i].TypeUsage))
System\Data\SqlClient\SqlGen\SqlGenerator.cs (3)
2936
bool isScalarElement = TypeSemantics.
IsPrimitiveType
(collectionType.TypeUsage);
3404
if ((sym.Type == null) || TypeSemantics.
IsPrimitiveType
(sym.Type))
3480
if ((symbol.Type == null) || TypeSemantics.
IsPrimitiveType
(symbol.Type))