Jaa


ExtensionMethods.SetPrimitiveValueConverter Method

Definition

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

public static void SetPrimitiveValueConverter (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.IEdmTypeDefinitionReference typeDefinition, Microsoft.OData.Edm.IPrimitiveValueConverter converter);
static member SetPrimitiveValueConverter : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.IEdmTypeDefinitionReference * Microsoft.OData.Edm.IPrimitiveValueConverter -> unit
<Extension()>
Public Sub SetPrimitiveValueConverter (model As IEdmModel, typeDefinition As IEdmTypeDefinitionReference, converter As IPrimitiveValueConverter)

Parameters

model
IEdmModel

The model involved.

typeDefinition
IEdmTypeDefinitionReference

The reference to a type definition.

converter
IPrimitiveValueConverter

The primitive value converter for the type definition.

Applies to