Skip to main content

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
TypeName
TypefieldType
System.Objectvalue

InitDbParam(IDbDataParameter, Type)

View Source
Declaration
void InitDbParam(IDbDataParameter p, Type fieldType)
Parameters
TypeName
IDbDataParameterp
TypefieldType

ToDbValue(Type, Object)

View Source
Declaration
object ToDbValue(Type fieldType, object value)
Returns

System.Object

Parameters
TypeName
TypefieldType
System.Objectvalue

FromDbValue(Type, Object)

View Source
Declaration
object FromDbValue(Type fieldType, object value)
Returns

System.Object

Parameters
TypeName
TypefieldType
System.Objectvalue

GetValue(IDataReader, Int32, Object[])

View Source
Declaration
object GetValue(IDataReader reader, int columnIndex, object[] values)
Returns

System.Object

Parameters
TypeName
IDataReaderreader
System.Int32columnIndex
System.Object[]values