DataAccessBase.CreateCommand

Creates a Command object and opens a connection

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

Parameters

sql
Sql string to create

commandType
Type of command to create

parameters
Parameter values that map to @0,@1 or DbParameter objects created with CreateParameter()

Overloads:


See also:

Class DataAccessBase

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic