Interface IValueConverter
Defines conversions from an object of one type in a model to an object of the same or different type in the database.
Namespace: LinqToDB.Common
Assembly: linq2db.dll
Syntax
public interface IValueConverter
Properties
| Improve this Doc View SourceFromProviderExpression
Gets the expression to convert objects when reading data from the database.
Declaration
LambdaExpression FromProviderExpression { get; }
Property Value
Type | Description |
---|---|
LambdaExpression |
HandlesNulls
Identifies that convert expressions can handle null values.
Declaration
bool HandlesNulls { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
ToProviderExpression
Gets the expression to convert objects when writing data to the database.
Declaration
LambdaExpression ToProviderExpression { get; }
Property Value
Type | Description |
---|---|
LambdaExpression |