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