Пример #1
0
 /// <summary>
 /// Any数据检测
 /// </summary>
 /// <param name="selector"></param>
 /// <param name="cancellationToken"></param>
 /// <returns></returns>
 public virtual async Task<bool> AnyAsync(Expression<Func<TEntity, bool>> selector = null, CancellationToken cancellationToken = default)
 {
     if (Read != null)
         return await Read.AnyAsync(selector, cancellationToken);
     return default;
 }