ExtensionMethods.SetPrimitiveValueConverter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.