DatabaseExecuteThroughAdapter Method (String, String, Hashtable, ExecuteThroughAdapterAttrs, String) |
Executes an insert, update or delete through IDbDataAdapter, Dataset, DataTable, DataRow
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public void ExecuteThroughAdapter(
string tableName,
string filter,
Hashtable fieldValues,
ExecuteThroughAdapterAttrs executeAttrs,
string logSource
)
Public Sub ExecuteThroughAdapter (
tableName As String,
filter As String,
fieldValues As Hashtable,
executeAttrs As ExecuteThroughAdapterAttrs,
logSource As String
)
Parameters
- tableName
- Type: SystemString
The table on which to execute the operation - filter
- Type: SystemString
The filter to obtain the row for Delete or Update (null allowed for inserts) - fieldValues
- Type: System.CollectionsHashtable
A collection of name value pairs defining the columns and values to set (null allowed for deletes) - executeAttrs
- Type: NetQuarryExecuteThroughAdapterAttrs
Attributes indicating whether operation should be Insert, Update or Delete - logSource
- Type: SystemString
The source of the operation, to be logged to the devlog.
Implements
IDatabaseExecuteThroughAdapter(String, String, Hashtable, ExecuteThroughAdapterAttrs, String)Remarks
When used to insert records having identity columns, the resulting identity values will not be available here.
See Also