DataAccessCreateAdapter Method (String, Hashtable, String, String, String) |
Add a new adapter to the adapter collection
Namespace:
WorkflowGen.My.Data
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 4.7.2.0 (4.7.2.0)
Syntax public DbDataAdapter CreateAdapter(
string selectQuery,
Hashtable selectQueryParameters,
string insertQuery,
string updateQuery,
string deleteQuery
)
Public Function CreateAdapter (
selectQuery As String,
selectQueryParameters As Hashtable,
insertQuery As String,
updateQuery As String,
deleteQuery As String
) As DbDataAdapter
Parameters
- selectQuery
- Type: SystemString
A select SQL query - selectQueryParameters
- Type: System.CollectionsHashtable
A collection of parameters for the select command - insertQuery
- Type: SystemString
An insert SQL query - updateQuery
- Type: SystemString
An update SQL query - deleteQuery
- Type: SystemString
A delete SQL query
Return Value
Type:
DbDataAdapterThe registered data adapter
See Also