Example #1
0
 public OrdersDetailCollection FetchAll()
 {
     OrdersDetailCollection coll = new OrdersDetailCollection();
     Query qry = new Query(OrdersDetail.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Example #2
0
 public OrdersDetailCollection FetchByQuery(Query qry)
 {
     OrdersDetailCollection coll = new OrdersDetailCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }