Click or drag to resize

MapperCreateAndLoad Method (String, IAppContext, Flavors, MapperAttrs, String, Boolean, Boolean)

Creates and loads a basic mapper. This overload takes a Filter parameter, optionally requeries, and optionally performs MoveFirst.

Namespace:  NetQuarry.Data
Assembly:  EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static IMapper CreateAndLoad(
	string key,
	IAppContext appContext,
	Flavors flavor,
	MapperAttrs attributes,
	string filter,
	bool requery,
	bool moveFirst
)

Parameters

key
Type: SystemString
The mapper key.
appContext
Type: NetQuarryIAppContext
The application context object.
flavor
Type: NetQuarry.DataFlavors
The optional flavor
attributes
Type: NetQuarry.DataMapperAttrs
Attributes to add to the mapper before the requery
filter
Type: SystemString
Static Filter to add to the mapper before Requery
requery
Type: SystemBoolean
If true, Requery is called on the Mapper.
moveFirst
Type: SystemBoolean
If true, MoveFirst is called on the Mapper.

Return Value

Type: IMapper
The new mapper.
See Also