public static IQueryable<T> WHEREIF<T>(this IQueryable<T> source, Expression<Func<T, bool>> filter, bool isEmpty)   

      {         

                return isEmpty ? source.Where(filter) : source;    

     }

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-28
  • 2022-12-23
  • 2022-12-23
  • 2021-09-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-26
  • 2021-10-31
  • 2022-03-01
  • 2021-07-31
相关资源
相似解决方案