public static object ExecuteQueryScalar(this DbConnection connection, string sql, DbTransaction transaction, params DbParameter[] parameters) { return(connection.ExecuteQueryScalar(sql, transaction, null, parameters)); }