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