IMapperSave Method (MapperSaveOptions) |
Namespace: NetQuarry.Data
Historically the RowRequery reused the mapper's internal DataTable or DataReader putting it into a state where a number of mapper operations such as MoveNext and HasRecords behaved somewhat unexpectedly after the RowRequery. An improved RowRequery mechanism was introduced in v4.6.3 and is now the default behaviour for the mapper. The improved RowRequery mechanism uses a dedicated DataTable/DataReader for the RowRequery so as to avoid this problem.
For backward compatibility, you can revert to the old RowRequery mechanism system-wide by setting the OldRowRequery Compatibility feature, or for a particular mapper by setting the mapper's OldRowRequery tweak. Note, however, that if the ImprovedRowRequery is specified in the save, that option takes precedence and if a RowRequery is performed the new mechanism will be used regardless of any other settings.