public static IEnumerable <TEntity> Select <TKey, TEntity>(this IQueryStore <TKey, TEntity> queryStore, IStorageDbConnection conn, IEnumerable <Expression <Func <TEntity, object> > > selectFields, OrderbyClauseResult orderbyClause, IDbTransaction tr) where TKey : IEquatable <TKey> where TEntity : class, IEntity <TKey> { if (queryStore == null) { throw new ArgumentNullException(nameof(queryStore)); } return(queryStore.Select(conn, selectFields, WhereClauseResult.Null, orderbyClause, tr)); }
public static IEnumerable <TEntity> Select <TKey, TEntity>(this IQueryStore <TKey, TEntity> queryStore, IStorageDbConnection conn, OrderbyClauseResult orderbyClause) where TKey : IEquatable <TKey> where TEntity : class, IEntity <TKey> { if (queryStore == null) { throw new ArgumentNullException(nameof(queryStore)); } return(queryStore.Select(conn, null, WhereClauseResult.Null, orderbyClause, null)); }