10 references to TypeUsage
System.Data.Entity (10)
System\Data\EntityModel\SchemaObjectModel\EntityContainer.cs (1)
453
if (property.Type is ScalarType && MetadataHelper.GetConcurrencyMode(property.
TypeUsage
) != ConcurrencyMode.None)
System\Data\EntityModel\SchemaObjectModel\EntityKeyElement.cs (4)
133
Debug.Assert(property.
TypeUsage
!= null, "For scalar type, typeusage must be initialized");
135
PrimitiveType primitivePropertyType = (PrimitiveType)property.
TypeUsage
.EdmType;
158
property.
TypeUsage
.EdmType.Name, property.
TypeUsage
.EdmType.BaseType.FullName, primitivePropertyType.PrimitiveTypeKind));
System\Data\Metadata\Converter.cs (5)
722
typeUsage = somProperty.
TypeUsage
;
731
Debug.Assert(somProperty.
TypeUsage
.EdmType.BuiltInTypeKind == BuiltInTypeKind.PrimitiveType);
733
propertyType = convertedItemCache.ItemCollection.GetItem<PrimitiveType>(somProperty.
TypeUsage
.EdmType.FullName);
753
if (somProperty.
TypeUsage
!= null)
755
ApplyTypePropertyFacets(somProperty.
TypeUsage
, ref typeUsage);