DataAccessBase.CreateCommand
Creates a Command object and opens a connection
public abstract DbCommand CreateCommand(string sql, CommandType commandType, object[] parameters)
Parameters
sql
Sql string to execute
commandType
parameters
Either values mapping to @0,@1,@2 etc. or DbParameter objects created with CreateParameter()
