ValueConverter<TModel,TProvider>.ConvertToProvider Property

Definition

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

Remarks

See EF Core value converters for more information and examples.

Applies to