Jaa


EdmCoreModel.GetPrimitive(EdmPrimitiveTypeKind, Boolean) Method

Definition

Gets a reference to a primitive type of the specified kind.

public Microsoft.OData.Edm.IEdmPrimitiveTypeReference GetPrimitive (Microsoft.OData.Edm.EdmPrimitiveTypeKind kind, bool isNullable);
member this.GetPrimitive : Microsoft.OData.Edm.EdmPrimitiveTypeKind * bool -> Microsoft.OData.Edm.IEdmPrimitiveTypeReference
Public Function GetPrimitive (kind As EdmPrimitiveTypeKind, isNullable As Boolean) As IEdmPrimitiveTypeReference

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 primitive type reference.

Applies to