IOrmLiteConverter
Assembly: ServiceStack.OrmLite.dll
View Source
Declaration
public interface IOrmLiteConverter
Properties
DialectProvider
View Source
Declaration
IOrmLiteDialectProvider DialectProvider { get; set; }
DbType
View Source
Declaration
DbType DbType { get; }
ColumnDefinition
View Source
Declaration
string ColumnDefinition { get; }
Methods
ToQuotedString(Type, Object)
View Source
Declaration
string ToQuotedString(Type fieldType, object value)
Returns
System.String
Parameters
Type | Name |
---|---|
Type | fieldType |
System.Object | value |
InitDbParam(IDbDataParameter, Type)
View Source
Declaration
void InitDbParam(IDbDataParameter p, Type fieldType)
Parameters
Type | Name |
---|---|
IDbDataParameter | p |
Type | fieldType |
ToDbValue(Type, Object)
View Source
Declaration
object ToDbValue(Type fieldType, object value)
Returns
System.Object
Parameters
Type | Name |
---|---|
Type | fieldType |
System.Object | value |
FromDbValue(Type, Object)
View Source
Declaration
object FromDbValue(Type fieldType, object value)
Returns
System.Object
Parameters
Type | Name |
---|---|
Type | fieldType |
System.Object | value |
GetValue(IDataReader, Int32, Object[])
View Source
Declaration
object GetValue(IDataReader reader, int columnIndex, object[] values)
Returns
System.Object
Parameters
Type | Name |
---|---|
IDataReader | reader |
System.Int32 | columnIndex |
System.Object[] | values |