예제 #1
0
 /// <summary>Compile query to filter the table by index, where query has three parameter.</summary>
 public static SearchQuery <tRow> filter <tRow, tArg1, tArg2, tArg3>(this SessionPool pool, Expression <Func <tRow, tArg1, tArg2, tArg3, bool> > exp) where tRow : new()
 {
     return(FilterQuery.query(pool.serializerForType <tRow>(), exp));
 }
예제 #2
0
 /// <summary>Compile query to sort the table by the index.</summary>
 public static SortQuery <tRow> sort <tRow, tKey>(this SessionPool pool, Expression <Func <tRow, tKey> > exp, bool descending) where tRow : new()
 {
     return(sort(pool.serializerForType <tRow>(), exp, descending));
 }