Beispiel #1
0
 /// <summary>
 /// 4.0 查询方法
 /// </summary>
 /// <typeparam name="Tkey">如果strOrederBy为null Tkey也可以DBNull</typeparam>
 /// <param name="strWhere">查询条件</param>
 /// <param name="SelectDelData">查询的结果集中 是否包括 已经软删除的数据</param>
 /// <param name="strOrederBy">排序条件</param>
 /// <param name="order">是否升序</param>
 ///  <param name="tableName">连接查询 的表名</param>
 /// <returns></returns>
 public IQueryable <T> GetList(Expression <Func <T, bool> > strWhere, bool SelectDelData = false, bool isAsNoTracking = true, string tableName = null)
 {
     return(idal.GetList(strWhere, SelectDelData, isAsNoTracking, tableName));
 }