Exemple #1
0
 public async Task <long> GetLogsCountAsync(DateTime starDateTime, DateTime endDateTime)
 {
     return(await TableNoTracking.AsQueryable().LongCountAsync(o => starDateTime <= o.Created && o.Created <= endDateTime));
 }
Exemple #2
0
 public long GetLogsCount(DateTime starDateTime, DateTime endDateTime)
 {
     return(TableNoTracking.AsQueryable().LongCount(o => starDateTime <= o.Created && o.Created <= endDateTime));
 }