Click or drag to resize

TypedMapperOpenReaderT Method (IAppContext, String, Flavors, MapperAttrs, String, MapperLoadFlags)

Namespace:  NetQuarry.Data
Assembly:  EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static T OpenReader<T>(
	IAppContext appCxt,
	string rowFilter,
	Flavors flavors,
	MapperAttrs mapperAttributes,
	string sort,
	MapperLoadFlags flags
)
where T : new(), TypedMapper

Parameters

appCxt
Type: NetQuarryIAppContext
The application context object
rowFilter
Type: SystemString
The filter to use during Requery
flavors
Type: NetQuarry.DataFlavors
Flavors
mapperAttributes
Type: NetQuarry.DataMapperAttrs
Attributes
sort
Type: SystemString
The value to set as the OrderBy property.
flags
Type: NetQuarry.DataMapperLoadFlags
MapperLoadFlagsFlags that control loading

Type Parameters

T
The class type for the object. This should be your topmost derived class.

Return Value

Type: T
A new instance of T positioned before the first record. Use MoveNext to move to the first record.
See Also