ValueConverter<TModel,TProvider>.ConvertToProvider Property


Gets the function to convert objects when writing data to the store, setup to handle nulls, boxing, and non-exact matches of simple types.

public override Func<object,object> ConvertToProvider { get; }
public override Func<object?,object?> ConvertToProvider { get; }
member this.ConvertToProvider : Func<obj, obj>
Public Overrides ReadOnly Property ConvertToProvider As Func(Of Object, Object)

Property Value


See EF Core value converters for more information and examples.

Applies to