EdmTypeSemantics.AsTemporal(IEdmTypeReference) 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.
If this reference is of a temporal type, this will return a valid temporal type reference to the type definition. Otherwise, it will return a bad temporal type reference.
public static Microsoft.OData.Edm.IEdmTemporalTypeReference AsTemporal (this Microsoft.OData.Edm.IEdmTypeReference type);
static member AsTemporal : Microsoft.OData.Edm.IEdmTypeReference -> Microsoft.OData.Edm.IEdmTemporalTypeReference
<Extension()>
Public Function AsTemporal (type As IEdmTypeReference) As IEdmTemporalTypeReference
Parameters
- type
- IEdmTypeReference
Reference to the calling object.
Returns
A valid temporal type reference if the definition of the reference is of a temporal type. Otherwise a bad temporal type reference.