示例#1
0
 public DmucBenhvienCollection FetchAll()
 {
     DmucBenhvienCollection coll = new DmucBenhvienCollection();
     Query qry = new Query(DmucBenhvien.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
示例#2
0
 public DmucBenhvienCollection FetchByQuery(Query qry)
 {
     DmucBenhvienCollection coll = new DmucBenhvienCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
示例#3
0
 public DmucBenhvienCollection FetchByID(object IdBenhvien)
 {
     DmucBenhvienCollection coll = new DmucBenhvienCollection().Where("id_benhvien", IdBenhvien).Load();
     return coll;
 }