Share via


EdmCoreModel.GetDuration(Boolean) Method

Definition

Gets a reference to a duration primitive type definition.

public Microsoft.OData.Edm.IEdmTemporalTypeReference GetDuration (bool isNullable);
member this.GetDuration : bool -> Microsoft.OData.Edm.IEdmTemporalTypeReference
Public Function GetDuration (isNullable As Boolean) As IEdmTemporalTypeReference

Parameters

isNullable
Boolean

Flag specifying if the referenced type should be nullable.

Returns

A new duration type reference.

Applies to