Пример #1
0
 public LRoomCollection FetchAll()
 {
     LRoomCollection coll = new LRoomCollection();
     Query qry = new Query(LRoom.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Пример #2
0
 public LRoomCollection FetchByQuery(Query qry)
 {
     LRoomCollection coll = new LRoomCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Пример #3
0
 public LRoomCollection FetchByID(object Id)
 {
     LRoomCollection coll = new LRoomCollection().Where("ID", Id).Load();
     return coll;
 }