Share via


ValueConverter<TModel,TProvider>.ConvertToProviderExpression Property

Definition

Gets the expression to convert objects when writing data to the store, exactly as supplied and may not handle nulls, boxing, and non-exact matches of simple types.

public virtual System.Linq.Expressions.Expression<Func<TModel,TProvider>> ConvertToProviderExpression { get; }
member this.ConvertToProviderExpression : System.Linq.Expressions.Expression<Func<'Model, 'Provider>>
Public Overridable ReadOnly Property ConvertToProviderExpression As Expression(Of Func(Of TModel, TProvider))

Property Value

Expression<Func<TModel,TProvider>>

Remarks

See EF Core value converters for more information and examples.

Applies to