internal DbDataAdapter GetDataAdapter(string sqlCommand, IDbConnection connection, DBParameter param, CommandType commandType) { DbDataAdapter adapter = null; IDbCommand command = _commandBuilder.GetCommand(sqlCommand, connection, param, commandType); adapter = GetDataAdapter(command); return(adapter); }
internal IDbCommand GetCommand(string commandText, IDbConnection connection, DBParameter parameter) { return(GetCommand(commandText, connection, parameter, CommandType.Text)); }