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