System\Data\Mapping\StorageMappingItemLoader.cs (29)
975if (!(Helper.IsAssignableFrom(rootEntityType, entityType)))
1203parameterList = Helper.Concat(parameterList, deleteFunctionMapping.ParameterBindings);
1207parameterList = Helper.Concat(parameterList, insertFunctionMapping.ParameterBindings);
1211parameterList = Helper.Concat(parameterList, updateFunctionMapping.ParameterBindings);
1609if (Helper.IsStructuralType(resultType))
1777PrimitiveType importType = Helper.AsPrimitive(importParameter.TypeUsage.EdmType);
1780if (Helper.IsSpatialType(importType))
1782importType = Helper.GetSpatialNormalizedPrimitiveType(importType);
1800var schemaErrorMessage = Helper.IsEnumType(importParameter.TypeUsage.EdmType) ?
1805Helper.GetUnderlyingEdmTypeForEnumType(importParameter.TypeUsage.EdmType).Name) :
1949if (!Helper.IsAssignableFrom(resultComplexType, complexType))
2393Debug.Assert(Helper.IsPrimitiveType(cTypeColumn.TypeUsage.EdmType), "S-space columns are expected to be of a primitive type.");
2454if (!Helper.IsScalarType(property.TypeUsage.EdmType))
2843if (containerType == null || !(Helper.IsCollectionType(containerType)))
2848if (Helper.IsRefType(containerType))
2883if (!Helper.IsScalarType(member.TypeUsage.EdmType))
3239if (Helper.IsPrimitiveType(edmType))
3278else if (Helper.IsEnumType(edmType))
3432object boolObj = Helper.GetTypedAttributeValue(nav, attributeName, typeof(bool));
3451return Helper.GetAttributeValue(nav, attributeName);
3469value = Helper.GetTypedAttributeValue(nav, attributeName, clrType);
3576sourceLocation = Helper.GetFileNameFromUri(new Uri(args.Exception.SourceUri));
3598Helper.IsScalarType(member.TypeUsage.EdmType),
3600Debug.Assert(Helper.IsPrimitiveType(columnMember.TypeUsage.EdmType), "s-space column type must be primitive");
3611TypeUsage storeEquivalentTypeUsage = Helper.ValidateAndConvertTypeUsage(member,
4148!Helper.IsSubtypeOf(property.TypeUsage.EdmType, complexType))
4276TypeUsage mappedStoreType = Helper.ValidateAndConvertTypeUsage(property,
4448return Helper.IsEnumType(typeUsage.EdmType) ?
4449TypeUsage.Create(Helper.GetUnderlyingEdmTypeForEnumType(typeUsage.EdmType), typeUsage.Facets) :
System\Data\Query\PlanCompiler\ColumnMapProcessor.cs (10)
125nullSentinelColumnMap = CreateSimpleColumnMap(md.Helper.GetModelTypeUsage(typeInfo.NullSentinelProperty), c_NullSentinelColumnName);
146ColumnMap propertyColumnMap = CreateColumnMap(md.Helper.GetModelTypeUsage(property), property.Name);
201ColumnMap propertyColumnMap = CreateColumnMap(md.Helper.GetModelTypeUsage(property), property.Name);
222ColumnMap propertyColumnMap = CreateColumnMap(md.Helper.GetModelTypeUsage(property), property.Name);
332return CreateSimpleColumnMap(md.Helper.GetModelTypeUsage(prop), c_EntitySetIdColumnName);
410nullSentinelColumnMap = CreateSimpleColumnMap(md.Helper.GetModelTypeUsage(typeInfo.NullSentinelProperty), c_NullSentinelColumnName);
418propertyColumnMapList[i] = CreateColumnMap(md.Helper.GetModelTypeUsage(property), property.Name);
436entitySetIdColumnMap = CreateSimpleColumnMap(md.Helper.GetModelTypeUsage(typeInfo.EntitySetIdProperty), c_EntitySetIdColumnName);
447keyColList[i] = CreateSimpleColumnMap(md.Helper.GetModelTypeUsage(property), property.Name);
479return CreateSimpleColumnMap(md.Helper.GetModelTypeUsage(prop), c_TypeIdColumnName);