コード例 #1
0
ファイル: DThietBiController.cs プロジェクト: khaha2210/radio
 public DThietBiCollection FetchAll()
 {
     DThietBiCollection coll = new DThietBiCollection();
     Query qry = new Query(DThietBi.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
コード例 #2
0
ファイル: DThietBiController.cs プロジェクト: khaha2210/radio
 public DThietBiCollection FetchByQuery(Query qry)
 {
     DThietBiCollection coll = new DThietBiCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader()); 
     return coll;
 }
コード例 #3
0
ファイル: DThietBiController.cs プロジェクト: khaha2210/radio
 public DThietBiCollection FetchByID(object IdThietBi)
 {
     DThietBiCollection coll = new DThietBiCollection().Where("IdThietBi", IdThietBi).Load();
     return coll;
 }