Table of Contents

Interface IValueConverter

Namespace
LinqToDB.Common
Assembly
linq2db.dll

Defines conversions from an object of one type in a model to an object of the same or different type in the database.

public interface IValueConverter
Extension Methods

Properties

FromProviderExpression

Gets the expression to convert objects when reading data from the database.

LambdaExpression FromProviderExpression { get; }

Property Value

LambdaExpression

HandlesNulls

Identifies that convert expressions can handle null values.

bool HandlesNulls { get; }

Property Value

bool

ToProviderExpression

Gets the expression to convert objects when writing data to the database.

LambdaExpression ToProviderExpression { get; }

Property Value

LambdaExpression