コード例 #1
0
ファイル: OrdersDetailController.cs プロジェクト: eleooo/App
 public OrdersDetailCollection FetchAll()
 {
     OrdersDetailCollection coll = new OrdersDetailCollection();
     Query qry = new Query(OrdersDetail.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
コード例 #2
0
ファイル: OrdersDetailController.cs プロジェクト: eleooo/App
 public OrdersDetailCollection FetchByQuery(Query qry)
 {
     OrdersDetailCollection coll = new OrdersDetailCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
コード例 #3
0
ファイル: OrdersDetailController.cs プロジェクト: eleooo/App
 public OrdersDetailCollection FetchByID(object Id)
 {
     OrdersDetailCollection coll = new OrdersDetailCollection().Where("ID", Id).Load();
     return coll;
 }