ExtensionMethods.GetPrimitiveValueConverter 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.
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.