TypeUsage Class
Class representing a type information for an item
Assembly: EntityFramework (in EntityFramework.dll)
System.Data.Entity.Core.Metadata.Edm::MetadataItem
System.Data.Entity.Core.Metadata.Edm::TypeUsage
| Name | Description | |
|---|---|---|
![]() | BuiltInTypeKind | Gets the built-in type kind for this TypeUsage.(Overrides MetadataItem::BuiltInTypeKind.) |
![]() | Documentation | Gets or sets the documentation associated with this type.(Inherited from MetadataItem.) |
![]() | EdmType | Gets the type information described by this TypeUsage. |
![]() | Facets | Gets the list of facets for the type that is described by this TypeUsage . |
![]() | MetadataProperties | Gets the list of properties of the current type.(Inherited from MetadataItem.) |
![]() | ModelTypeUsage | Returns a Model type usage for a provider type |
| Name | Description | |
|---|---|---|
![]() | AddAnnotation(String^, Object^) | Adds or updates an annotation with the specified name and value.(Inherited from MetadataItem.) |
![]() ![]() | Create(EdmType^, IEnumerable<Facet^>^) | Factory method for creating a TypeUsage with specified EdmType and facets |
![]() ![]() | CreateBinaryTypeUsage(PrimitiveType^, Boolean) | Creates a TypeUsage object to describe a binary type by using the specified facet values. |
![]() ![]() | CreateBinaryTypeUsage(PrimitiveType^, Boolean, Int32) | Creates a TypeUsage object to describe a binary type by using the specified facet values. |
![]() ![]() | CreateDateTimeOffsetTypeUsage(PrimitiveType^, Nullable<Byte>) | Creates a T:System.Data.Metadata.Edm.DateTimeOffsetTypeUsage object of the type that the parameters describe. |
![]() ![]() | CreateDateTimeTypeUsage(PrimitiveType^, Nullable<Byte>) | Creates a T:System.Data.Metadata.Edm.DateTimeTypeUsage object of the type that the parameters describe. |
![]() ![]() | CreateDecimalTypeUsage(PrimitiveType^) | Creates a TypeUsage object to describe a decimal type with unbounded precision and scale facet values. |
![]() ![]() | CreateDecimalTypeUsage(PrimitiveType^, Byte, Byte) | Creates a TypeUsage object to describe a decimal type by using the specified facet values. |
![]() ![]() | CreateDefaultTypeUsage(EdmType^) | Creates a TypeUsage object with the specified conceptual model type. |
![]() ![]() | CreateStringTypeUsage(PrimitiveType^, Boolean, Boolean) | Creates a TypeUsage object to describe a string type by using the specified facet values and unbounded MaxLength. |
![]() ![]() | CreateStringTypeUsage(PrimitiveType^, Boolean, Boolean, Int32) | Creates a TypeUsage object to describe a string type by using the specified facet values. |
![]() ![]() | CreateTimeTypeUsage(PrimitiveType^, Nullable<Byte>) | Creates a T:System.Data.Metadata.Edm.TimeTypeUsage object of the type that the parameters describe. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsSubtypeOf(TypeUsage^) | Checks whether this TypeUsage is a subtype of the specified TypeUsage . |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | RemoveAnnotation(String^) | Removes an annotation with the specified name.(Inherited from MetadataItem.) |
![]() | ToString() | Returns the full name of the type described by this TypeUsage.(Overrides Object::ToString().) |
| Name | Description | |
|---|---|---|
![]() | Constant(Object^) | Overloaded. Creates a new DbConstantExpression of the specified primitive type with the given constant value.(Defined by DbExpressionBuilder.) |
![]() | New(array<DbExpression^>^) | Overloaded. Creates a new DbNewInstanceExpression. If the type argument is a collection type, the arguments specify the elements of the collection. Otherwise the arguments are used as property or column values in the new instance.(Defined by DbExpressionBuilder.) |
![]() | New(IEnumerable<DbExpression^>^) | Overloaded. Creates a new DbNewInstanceExpression. If the type argument is a collection type, the arguments specify the elements of the collection. Otherwise the arguments are used as property or column values in the new instance.(Defined by DbExpressionBuilder.) |
![]() | NewEmptyCollection() | Creates a new DbNewInstanceExpression that constructs an empty collection of the specified collection type.(Defined by DbExpressionBuilder.) |
![]() | Null() | Creates a new DbNullExpression, which represents a typed null value.(Defined by DbExpressionBuilder.) |
![]() | Parameter(String^) | Creates a new DbParameterReferenceExpression that references a parameter with the specified name and type.(Defined by DbExpressionBuilder.) |
![]() | Variable(String^) | Creates a new DbVariableReferenceExpression that references a variable with the specified name and type.(Defined by DbExpressionBuilder.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



