Interface IConverter
Interface, which describe converter, which know convert data from db to object and reverse.
Namespace: Kros.KORM.Converter
Assembly: Kros.KORM.dll
Syntax
public interface IConverter
Methods
Convert(Object)
Converts the specified value from Db to Clr.
Declaration
object Convert(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The value. |
Returns
Type | Description |
---|---|
System.Object |
ConvertBack(Object)
Converts the value from Clr to Db.
Declaration
object ConvertBack(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The value. |
Returns
Type | Description |
---|---|
System.Object | Converted value for Db. |