Пример #1
0
 internal static List <Tuple <T, T2, T3, T4, T5, T6, T7> > SelectMulti <T, T2, T3, T4, T5, T6, T7>(this IDbCommand dbCmd, SqlExpression <T> q)
 {
     q.SelectIfDistinct(q.CreateMultiSelect <T, T2, T3, T4, T5, T6, T7>(dbCmd.GetDialectProvider()));
     return(dbCmd.ExprConvertToList <Tuple <T, T2, T3, T4, T5, T6, T7> >(q.ToSelectStatement(), q.Params, onlyFields: q.OnlyFields));
 }