8 references to AsPrimitive
System.Data.Entity (8)
System\Data\Common\CommandTrees\ValueExpressions.cs (1)
34
Debug.Assert(Helper.
AsPrimitive
(resultType.EdmType).ClrEquivalentType == (value.GetType().IsEnum ? value.GetType().GetEnumUnderlyingType() : value.GetType()),
System\Data\EntityClient\EntityParameter.cs (1)
496
PrimitiveType primitiveType = Helper.
AsPrimitive
(edmType);
System\Data\Mapping\StorageMappingItemLoader.cs (1)
1777
PrimitiveType importType = Helper.
AsPrimitive
(importParameter.TypeUsage.EdmType);
System\Data\Mapping\Update\Internal\Propagator.ExtentPlaceholderCreator.cs (1)
218
GetPropagatorResultForPrimitiveType(Helper.
AsPrimitive
(nodeType.EdmType), out result);
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (1)
545
PrimitiveType underlyingType = Helper.
AsPrimitive
(member.TypeUsage.EdmType);
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (1)
139
Debug.Assert(Helper.
AsPrimitive
(type).PrimitiveTypeKind == PrimitiveTypeKind.Boolean, "Only boolean type has discrete domain.");
System\Data\Objects\ELinq\ExpressionConverter.cs (2)
562
PrimitiveTypeKind fromTypeKind = Helper.
AsPrimitive
(fromType.EdmType).PrimitiveTypeKind;
563
PrimitiveTypeKind toTypeKind = Helper.
AsPrimitive
(toType.EdmType).PrimitiveTypeKind;