Click or drag to resize

TypedMapperCloneAndIterateT Method

Creates a cloned mapper based on this object and positions it to before the first row, then iterates over each row calling the provided function. Note: If you include MapperCloneFlags you almost always want to include the 'FilterOnSelectedKeys' flag along with your provided flags. If you don't include this flag and you are operating on a mapper that is datasheet based, the checkbox selections will be ignored.

Namespace:  NetQuarry.Data
Assembly:  EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public void CloneAndIterate<T>(
	Action<T> func,
	MapperCloneFlags mcf = MapperCloneFlags.FilterOnSelectedKeys,
	Flavors flavors = 
)
where T : new(), TypedMapper

Parameters

func
Type: SystemActionT
The action function to use for the operation.
mcf (Optional)
Type: NetQuarry.DataMapperCloneFlags
MapperCloneFlags to use during the clone. By default, FilterOnSelectedKeys is used.
flavors (Optional)
Type: NetQuarry.DataFlavors
Flavors to use in the clone. By default, flavors are copied from the source mapper.

Type Parameters

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