예제 #1
0
 public UsontCollection FetchAll()
 {
     UsontCollection coll = new UsontCollection();
     Query qry = new Query(Usont.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
예제 #2
0
 public UsontCollection FetchByQuery(Query qry)
 {
     UsontCollection coll = new UsontCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader()); 
     return coll;
 }
예제 #3
0
 public UsontCollection FetchByID(object OrderNumber)
 {
     UsontCollection coll = new UsontCollection().Where("OrderNumber", OrderNumber).Load();
     return coll;
 }