private DbCommand NewStoredProcCommand(string commandText) { DbCommand command = DbResourceAllocator.NewCommand(commandText, this.connection, this.localTransaction); command.CommandType = CommandType.StoredProcedure; return(command); }
internal DbCommand NewCommand() { DbConnection dbConnection = OpenNewConnection(); return(DbResourceAllocator.NewCommand(dbConnection)); }