Click or drag to resize

MapperKernel.MoveFirst Method

Move to the first record in the mapper. Note that this will throw an InvalidMapperMovement error if the mapper is positioned beyond the first record and is not BiDirectional. Use MoveBOF() to position just prior to the first data row.

You should not call MoveFirst() prior to calling MoveNext() to loop through records in a mapper as this will result in the first record being skipped (unless of course you want to skip the first record). Immediately following a Requery(RequeryHints) the mapper will already be positioned BOF and you can simply loop by calling MoveNext(). If you are using a BiDirectional mapper and need to perform subsequent MoveNext() loops, call MoveBOF() to position just prior to the first data row before starting each subsequent MoveNext().

Namespace:  NetQuarry.Data
Assembly:  EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public bool MoveFirst()

Return Value

Type: Boolean
True if movement succeeded, else false.

Implements

IMapper.MoveFirst()
See Also