Skip to main content

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
TypeName
<T>objWithProperties
ServiceStack.OrmLite.IOrmLiteDialectProviderdialectProvider
IDataReaderreader
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
TypeName
IDataReaderreader
ServiceStack.OrmLite.IOrmLiteDialectProviderdialectProvider
System.StringfieldName

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
TypeName
<T>objWithProperties
ServiceStack.OrmLite.IOrmLiteDialectProviderdialectProvider
IDataReaderreader
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
TypeName
ServiceStack.OrmLite.IOrmLiteDialectProviderdialectProvider
System.ObjectobjWithProperties
IDataReaderreader
Tuple<ServiceStack.OrmLite.FieldDefinition,System.Int32,ServiceStack.OrmLite.IOrmLiteConverter>[]indexCache
System.Object[]values
Type Parameters
  • T