Example #1
0
 public DPhongBanCollection FetchAll()
 {
     DPhongBanCollection coll = new DPhongBanCollection();
     Query qry = new Query(DPhongBan.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Example #2
0
 public DPhongBanCollection FetchByQuery(Query qry)
 {
     DPhongBanCollection coll = new DPhongBanCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader()); 
     return coll;
 }
Example #3
0
 public DPhongBanCollection FetchByID(object IdKhoa)
 {
     DPhongBanCollection coll = new DPhongBanCollection().Where("ID_KHOA", IdKhoa).Load();
     return coll;
 }