/// <summary> /// 查询类型 T 的所有数据 /// </summary> public static List <CacheObject> findAll(Type t) { IList list = MemoryDB.FindAll(t); return(db.getResults <CacheObject>(list)); }
/// <summary> /// 检索出所有对象 /// </summary> /// <returns></returns> public IList findAll() { return(MemoryDB.FindAll(this.GetType())); }