Click or drag to resize

TypedMapperOpenNewT Method (IAppContext, Flavors, MapperAttrs)

Creates a new mapper and moves to a new record. The mapper is in the New state, ready to accept values. No query is performed. You must explicitly call Close or Dispose on the object after this call.

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

Parameters

appCxt
Type: NetQuarryIAppContext
The application context object
flavors
Type: NetQuarry.DataFlavors
Flavors
mapperAttributes
Type: NetQuarry.DataMapperAttrs
Attributes

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 at a new record.
See Also