Share via


ExtensionMethods.GetPrimitiveValueConverter Method

Definition

Get the primitive value converter for the given type definition in the model.

public static Microsoft.OData.Edm.IPrimitiveValueConverter GetPrimitiveValueConverter (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.IEdmTypeReference type);
static member GetPrimitiveValueConverter : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.IEdmTypeReference -> Microsoft.OData.Edm.IPrimitiveValueConverter
<Extension()>
Public Function GetPrimitiveValueConverter (model As IEdmModel, type As IEdmTypeReference) As IPrimitiveValueConverter

Parameters

model
IEdmModel

The model involved.

type
IEdmTypeReference

The reference to a type definition.

Returns

The primitive value converter for the type definition.

Applies to