DataAccessPrepareCommand Method (String, Hashtable) |
Builds an generic DbCommand according to a SQL statement and a set of parameters
Namespace:
WorkflowGen.My.Data
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 4.0.0.0 (4.0.0.0)
Syntax public DbCommand PrepareCommand(
string sqlQuery,
Hashtable parameters
)
Public Function PrepareCommand (
sqlQuery As String,
parameters As Hashtable
) As DbCommand
Parameters
- sqlQuery
- Type: SystemString
A SQL query - parameters
- Type: System.CollectionsHashtable
A collection of parameters
Return Value
Type:
DbCommandSee Also