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