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