Export (0) Print
Expand All

TypeUsage Methods

The TypeUsage type exposes the following members.

  Name Description
Public method Static member CreateBinaryTypeUsage(PrimitiveType, Boolean) Creates a TypeUsage object to describe a binary type by using the specified facet values.
Public method Static member CreateBinaryTypeUsage(PrimitiveType, Boolean, Int32) Creates a TypeUsage object to describe a binary type by using the specified facet values.
Public method Static member CreateDateTimeOffsetTypeUsage Creates a DateTimeOffsetTypeUsage object of the type that the parameters describe.
Public method Static member CreateDateTimeTypeUsage Creates a DateTimeTypeUsage object of the type that the parameters describe.
Public method Static member CreateDecimalTypeUsage(PrimitiveType) Creates a TypeUsage object to describe a decimal type with unbounded precision and scale facet values.
Public method Static member CreateDecimalTypeUsage(PrimitiveType, Byte, Byte) Creates a TypeUsage object to describe a decimal type by using the specified facet values.
Public method Static member CreateDefaultTypeUsage Creates a TypeUsage object with the specified conceptual model type.
Public method Static member CreateStringTypeUsage(PrimitiveType, Boolean, Boolean) Creates a TypeUsage object to describe a string type by using the specified facet values and unbounded MaxLength.
Public method Static member CreateStringTypeUsage(PrimitiveType, Boolean, Boolean, Int32) Creates a TypeUsage object to describe a string type by using the specified facet values.
Public method Static member CreateTimeTypeUsage Creates a TimeTypeUsage object of the type that the parameters describe.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsSubtypeOf Checks whether this TypeUsage is a subtype of the specified TypeUsage.
Public method ToString Returns the full name of the type described by this TypeUsage. (Overrides Object.ToString().)
Top

  Name Description
Public Extension Method Constant Creates a new DbConstantExpression of the specified primitive type with the given constant value. (Defined by DbExpressionBuilder.)
Public Extension Method New(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.)
Public Extension Method 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.)
Public Extension Method NewEmptyCollection Creates a new DbNewInstanceExpression that constructs an empty collection of the specified collection type. (Defined by DbExpressionBuilder.)
Public Extension Method Null Creates a new DbNullExpression, which represents a typed null value. (Defined by DbExpressionBuilder.)
Public Extension Method Parameter Creates a new DbParameterReferenceExpression that references a parameter with the specified name and type. (Defined by DbExpressionBuilder.)
Public Extension Method Variable Creates a new DbVariableReferenceExpression that references a variable with the specified name and type. (Defined by DbExpressionBuilder.)
Top
Show:
© 2014 Microsoft