Beispiel #1
0
 /// <summary>
 /// Computes the min value of the target field.
 /// </summary>
 /// <typeparam name="TResult">The type of the result.</typeparam>
 /// <param name="field">The field to be minimized.</param>
 /// <param name="hints">The table hints to be used.</param>
 /// <param name="transaction">The transaction to be used.</param>
 /// <returns>The min value of the target field.</returns>
 public TResult MinAll <TResult>(Expression <Func <TEntity, TResult> > field,
                                 string hints = null,
                                 IDbTransaction transaction = null)
 {
     return(DbRepository.MinAll <TEntity, TResult>(field: field,
                                                   hints: hints,
                                                   transaction: transaction));
 }
Beispiel #2
0
 /// <summary>
 /// Computes the min value of the target field.
 /// </summary>
 /// <param name="field">The field to be minimized.</param>
 /// <param name="hints">The table hints to be used.</param>
 /// <param name="transaction">The transaction to be used.</param>
 /// <returns>The min value of the target field.</returns>
 public object MinAll(Field field,
                      string hints = null,
                      IDbTransaction transaction = null)
 {
     return(DbRepository.MinAll <TEntity>(field: field,
                                          hints: hints,
                                          transaction: transaction));
 }