EdmCoreModel.GetPrimitive Method
Gets a reference to a primitive type.
Namespace: Microsoft.Data.Edm.Library
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Function GetPrimitive ( _
kind As EdmPrimitiveTypeKind, _
isNullable As Boolean _
) As IEdmPrimitiveTypeReference
'Usage
Dim instance As EdmCoreModel
Dim kind As EdmPrimitiveTypeKind
Dim isNullable As Boolean
Dim returnValue As IEdmPrimitiveTypeReference
returnValue = instance.GetPrimitive(kind, _
isNullable)
public IEdmPrimitiveTypeReference GetPrimitive(
EdmPrimitiveTypeKind kind,
bool isNullable
)
public:
IEdmPrimitiveTypeReference^ GetPrimitive(
EdmPrimitiveTypeKind kind,
bool isNullable
)
member GetPrimitive :
kind:EdmPrimitiveTypeKind *
isNullable:bool -> IEdmPrimitiveTypeReference
public function GetPrimitive(
kind : EdmPrimitiveTypeKind,
isNullable : boolean
) : IEdmPrimitiveTypeReference
Parameters
- kind
Type: Microsoft.Data.Edm.EdmPrimitiveTypeKind
The kind of the primitive type.
- isNullable
Type: System.Boolean
true to indicate that the referenced type should be nullable; otherwise, false.
Return Value
Type: Microsoft.Data.Edm.IEdmPrimitiveTypeReference
A primitive type reference.