Share via


ValueConverter.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 abstract Func<object,object> ConvertToProvider { get; }
public abstract Func<object?,object?> ConvertToProvider { get; }
member this.ConvertToProvider : Func<obj, obj>
Public MustOverride ReadOnly Property ConvertToProvider As Func(Of Object, Object)

Property Value

Remarks

See EF Core value converters for more information and examples.

Applies to