22 references to IsScalarType
System.Data.Entity (22)
System\Data\EntityClient\EntityCommandDefinition.cs (1)
194
Debug.Assert(Helper.
IsScalarType
(elementType.EdmType)
System\Data\EntityClient\EntityParameter.cs (1)
206
if (value != null && !Helper.
IsScalarType
(value))
System\Data\EntityKey.cs (1)
1097
Debug.Assert(Helper.
IsScalarType
(keyMember.TypeUsage.EdmType), "key member must be of a scalar type");
System\Data\Mapping\DefaultObjectMappingItemCollection.cs (2)
589
Helper.
IsScalarType
(edmProperty.TypeUsage.EdmType),
592
Helper.
IsScalarType
(objectProperty.TypeUsage.EdmType),
System\Data\Mapping\StorageMappingItemLoader.cs (3)
2454
if (!Helper.
IsScalarType
(property.TypeUsage.EdmType))
2883
if (!Helper.
IsScalarType
(member.TypeUsage.EdmType))
3598
Helper.
IsScalarType
(member.TypeUsage.EdmType),
System\Data\Mapping\StorageScalarPropertyMapping.cs (1)
60
Helper.
IsScalarType
(member.TypeUsage.EdmType),
System\Data\Mapping\Update\Internal\Propagator.ExtentPlaceholderCreator.cs (1)
216
if (Helper.
IsScalarType
(nodeType.EdmType))
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (1)
134
if (Helper.
IsScalarType
(type))
System\Data\Metadata\Helper.cs (1)
549
Debug.Assert(
IsScalarType
(type), "This method must not be called for types that are neither primitive nor enums.");
System\Data\Metadata\ObjectHelper.cs (2)
148
Helper.
IsScalarType
(edmProperty.TypeUsage.EdmType),
209
Helper.
IsScalarType
(cspaceType.EdmType),
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (1)
747
Debug.Assert(Helper.
IsScalarType
(propertyType), "Property has to be primitive or enum.");
System\Data\Metadata\TypeSemantics.cs (1)
1027
return Helper.
IsScalarType
(edmType);
System\Data\Objects\DataClasses\RelatedEnd.cs (1)
572
Debug.Assert(Helper.
IsScalarType
(parameterEdmType), "Only primitive or enum type expected for parameters");
System\Data\Objects\ELinq\Translator.cs (1)
110
if (Helper.
IsScalarType
(type.EdmType) ||
System\Data\Objects\EntityEntry.cs (1)
3312
Debug.Assert(Helper.
IsScalarType
(field.FieldType.TypeUsage.EdmType), "Expected primitive or enum type.");
System\Data\Query\InternalTrees\ColumnMapFactory.cs (3)
103
else if (Helper.
IsScalarType
(edmType))
155
(Helper.
IsScalarType
(modelType)) &&
278
if (!Helper.
IsScalarType
(member.TypeUsage.EdmType))