DataAccessBase.CreateCommand

Creates a Command object and opens a connection

public virtual DbCommand CreateCommand(string sql,
	CommandType commandType,
	Object[] parameters)

Return Value

Command object or null on error

Parameters

sql
Sql string to execute

commandType
parameters
Either values mapping to @0,@1,@2 etc. or DbParameter objects created with CreateParameter()

Overloads:


See also:

Class DataAccessBase

© West Wind Technologies, 2019 • Updated: 06/23/19
Comment or report problem with topic