Click or drag to resize

DataAccessPrepareCommand Method (DbConnection, String, Hashtable)

Builds a generic DbCommand according to a SQL statement and a set of parameters

Namespace:  WorkflowGen.My.Data
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 8.3.3.0 (8.3.3.20240926)
Syntax
public DbCommand PrepareCommand(
	DbConnection dbConnection,
	string sqlQuery,
	Hashtable parameters
)

Parameters

dbConnection
Type: System.Data.CommonDbConnection
Connection to the database
sqlQuery
Type: SystemString
SQL query
parameters
Type: System.CollectionsHashtable
Collection of parameters

Return Value

Type: DbCommand
See Also