OrmLiteWriteCommandExtensions
Assembly: ServiceStack.OrmLite.dll
View Source
Declaration
public static class OrmLiteWriteCommandExtensions : object
Methods
PopulateWithSqlReader<T>(T, IOrmLiteDialectProvider, IDataReader)
View Source
Declaration
public static T PopulateWithSqlReader<T>(this T objWithProperties, IOrmLiteDialectProvider dialectProvider, IDataReader reader)
Returns
<T>
Parameters
Type | Name |
---|---|
<T> | objWithProperties |
ServiceStack.OrmLite.IOrmLiteDialectProvider | dialectProvider |
IDataReader | reader |
Type Parameters
T
GetColumnIndex(IDataReader, IOrmLiteDialectProvider, String)
View Source
Declaration
public static int GetColumnIndex(this IDataReader reader, IOrmLiteDialectProvider dialectProvider, string fieldName)
Returns
System.Int32
Parameters
Type | Name |
---|---|
IDataReader | reader |
ServiceStack.OrmLite.IOrmLiteDialectProvider | dialectProvider |
System.String | fieldName |
PopulateWithSqlReader<T>(T, IOrmLiteDialectProvider, IDataReader, Tuple<FieldDefinition, Int32, IOrmLiteConverter>[], Object[])
View Source
Declaration
public static T PopulateWithSqlReader<T>(this T objWithProperties, IOrmLiteDialectProvider dialectProvider, IDataReader reader, Tuple<FieldDefinition, int, IOrmLiteConverter>[] indexCache, object[] values)
Returns
<T>
Parameters
Type | Name |
---|---|
<T> | objWithProperties |
ServiceStack.OrmLite.IOrmLiteDialectProvider | dialectProvider |
IDataReader | reader |
Tuple<ServiceStack.OrmLite.FieldDefinition,System.Int32,ServiceStack.OrmLite.IOrmLiteConverter>[] | indexCache |
System.Object[] | values |
Type Parameters
T
PopulateObjectWithSqlReader<T>(IOrmLiteDialectProvider, Object, IDataReader, Tuple<FieldDefinition, Int32, IOrmLiteConverter>[], Object[])
View Source
Declaration
public static void PopulateObjectWithSqlReader<T>(this IOrmLiteDialectProvider dialectProvider, object objWithProperties, IDataReader reader, Tuple<FieldDefinition, int, IOrmLiteConverter>[] indexCache, object[] values)
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.IOrmLiteDialectProvider | dialectProvider |
System.Object | objWithProperties |
IDataReader | reader |
Tuple<ServiceStack.OrmLite.FieldDefinition,System.Int32,ServiceStack.OrmLite.IOrmLiteConverter>[] | indexCache |
System.Object[] | values |
Type Parameters
T