TypeUsage Class
Describes a type and a set of facets for that type.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
| 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.) |
| Name | Description | |
|---|---|---|
![]() ![]() | 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^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | IsSubtypeOf(TypeUsage^) | Checks whether this TypeUsage is a subtype of the specified TypeUsage. |
![]() | 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.) |
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


