EdmCoreModel.GetTemporal Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetTemporal(EdmPrimitiveTypeKind, Boolean) |
Gets a reference to a temporal primitive type definition. |
GetTemporal(EdmPrimitiveTypeKind, Nullable<Int32>, Boolean) |
Gets a reference to a temporal primitive type definition. |
GetTemporal(EdmPrimitiveTypeKind, Boolean)
Gets a reference to a temporal primitive type definition.
public Microsoft.OData.Edm.IEdmTemporalTypeReference GetTemporal (Microsoft.OData.Edm.EdmPrimitiveTypeKind kind, bool isNullable);
member this.GetTemporal : Microsoft.OData.Edm.EdmPrimitiveTypeKind * bool -> Microsoft.OData.Edm.IEdmTemporalTypeReference
Public Function GetTemporal (kind As EdmPrimitiveTypeKind, isNullable As Boolean) As IEdmTemporalTypeReference
Parameters
- kind
- EdmPrimitiveTypeKind
Primitive kind of the type reference being created.
- isNullable
- Boolean
Flag specifying if the referenced type should be nullable.
Returns
A new temporal type reference.
Applies to
GetTemporal(EdmPrimitiveTypeKind, Nullable<Int32>, Boolean)
Gets a reference to a temporal primitive type definition.
public Microsoft.OData.Edm.IEdmTemporalTypeReference GetTemporal (Microsoft.OData.Edm.EdmPrimitiveTypeKind kind, int? precision, bool isNullable);
member this.GetTemporal : Microsoft.OData.Edm.EdmPrimitiveTypeKind * Nullable<int> * bool -> Microsoft.OData.Edm.IEdmTemporalTypeReference
Public Function GetTemporal (kind As EdmPrimitiveTypeKind, precision As Nullable(Of Integer), isNullable As Boolean) As IEdmTemporalTypeReference
Parameters
- kind
- EdmPrimitiveTypeKind
Primitive kind of the type reference being created.
- isNullable
- Boolean
Flag specifying if the referenced type should be nullable.
Returns
A new temporal type reference.