BeforeRequeryArgs Class |
Namespace: NetQuarry.Data
The BeforeRequeryArgs type exposes the following members.
Name | Description | |
---|---|---|
BeforeRequeryArgs |
Constructor.
|
Name | Description | |
---|---|---|
BulkContext |
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.) | |
CacheDate |
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.
| |
Data |
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. | |
Dirty |
Gets/sets whether the Data value has been changed.
| |
ErrorDeveloperMessage |
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.) | |
ErrorMessage |
Sets the extention's error message for this event.
(Inherited from EAPEventArgs.) | |
ErrorOptions |
Options used to specify additional characteristics about an exception.
(Inherited from EAPEventArgs.) | |
Event |
Gets/Sets the event that is currently executing.
(Inherited from EAPEventArgs.) | |
Hints |
Gets/sets hints about the upcoming Requery(RequeryHints) and/or to communicate
hints back from the extension to the mapper.
| |
Result |
Gets/Sets the result to return from the event.
(Inherited from EAPEventArgs.) | |
RowKey | ||
TopN |
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.
|
Name | Description | |
---|---|---|
Cancel |
Sets the extention's result code and error message for this event. The result code
is set to ExtResultsExtResults.Cancel.
(Inherited from EAPEventArgs.) | |
Equals | (Inherited from Object.) | |
Error(String) |
Sets the extention's result code and error message for this event.
The result code is set to Error.
Use Error(String, String, ExceptionOptions) to include an additional developer message and/or options.
(Inherited from EAPEventArgs.) | |
Error(String, String, ExceptionOptions) |
Sets the extention's result code and error message for this event with an optional developer-specific
error message and options.
The result code is set to Error.
(Inherited from EAPEventArgs.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) |