public LRoomCollection FetchAll() { LRoomCollection coll = new LRoomCollection(); Query qry = new Query(LRoom.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public LRoomCollection FetchByQuery(Query qry) { LRoomCollection coll = new LRoomCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public LRoomCollection FetchByID(object Id) { LRoomCollection coll = new LRoomCollection().Where("ID", Id).Load(); return coll; }