/// <summary> /// 根据传入的条件执行查询,并返回一个IEnumerable<T>类型的集合 /// (注意传入的 T 必须约束为 where T : class, new()) /// </summary> /// <param name="where">查询条件,请省略 where 关键字</param> /// <returns></returns> public IEnumerable <T> GetEntityList(string where) { return(_dao.GetEntityList(where)); }