Click or drag to resize

BeforeRequeryArgs Properties

The BeforeRequeryArgs type exposes the following members.

Properties
  NameDescription
Public propertyBulkContext
Gets/sets the context of the current bulk operation, if any. If this event is part of a bulk operation, this is the context of that bulk operation. If this event is not part of a bulk operation, this context will be null.
(Inherited from EAPEventArgs.)
Public propertyCacheDate
Gets/sets the cache date/time for Data when the mapper has already obtained the operational data from cache. Check DataFromCache to determine if Data was obtained from cache.
Public propertyData
If a DataTable is provided, it will be used to populate the mapper and no mapper database query will be performed. The structure for the DataTable can be obtained from the mapper by calling Exec(MapperExecCmds, Int32, Object) with the RetrieveDataTable command.

Only the mapper's primary data can be provided during the MapperBeforeRequery event. To provide aggregate data, set Data during the MapperExecSQL event for the Aggregate statement type.

Public propertyDirty
Gets/sets whether the Data value has been changed.
Public propertyErrorDeveloperMessage
An optional, developer-specific error message. This will be logged to the Devlog and xot_request_log, but only displayed in user error messages when the user is identified as IsDeveloper.
(Inherited from EAPEventArgs.)
Public propertyCode exampleErrorMessage
Sets the extention's error message for this event.
(Inherited from EAPEventArgs.)
Public propertyErrorOptions
Options used to specify additional characteristics about an exception.
(Inherited from EAPEventArgs.)
Public propertyEvent
Gets/Sets the event that is currently executing.
(Inherited from EAPEventArgs.)
Public propertyHints
Gets/sets hints about the upcoming Requery(RequeryHints) and/or to communicate hints back from the extension to the mapper.
Public propertyResult
Gets/Sets the result to return from the event.
(Inherited from EAPEventArgs.)
Public propertyRowKey
Gets/sets the RowKey associated with the query about to be performed. A null value could indicate either that the query is not specifically a query for a particular record by its RowKey, or that it is unknown whether or not the query is for a particular record by RowKey.
Public propertyTopN
Gets the TOPN setting for the upcoming query -- that is, the maximum number of records requested. If the extension provides data in Data it may choose to ignore this value and provide additional data which may help with the RecordCount determination.
Top
See Also