예제 #1
0
 /// <summary>
 /// Counts all the table data from the database.
 /// </summary>
 /// <param name="hints">The table hints to be used. See <see cref="SqlServerTableHints"/> class.</param>
 /// <param name="transaction">The transaction to be used.</param>
 /// <returns>An integer value that holds the number of data from the database.</returns>
 public long CountAll(string hints = null,
                      IDbTransaction transaction = null)
 {
     return(DbRepository.CountAll <TEntity>(hints: hints,
                                            transaction: transaction));
 }