コード例 #1
0
 public NoitruQheDoituongBuonggiuongCollection FetchAll()
 {
     NoitruQheDoituongBuonggiuongCollection coll = new NoitruQheDoituongBuonggiuongCollection();
     Query qry = new Query(NoitruQheDoituongBuonggiuong.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
コード例 #2
0
 public NoitruQheDoituongBuonggiuongCollection FetchByQuery(Query qry)
 {
     NoitruQheDoituongBuonggiuongCollection coll = new NoitruQheDoituongBuonggiuongCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
コード例 #3
0
 public NoitruQheDoituongBuonggiuongCollection FetchByID(object Id)
 {
     NoitruQheDoituongBuonggiuongCollection coll = new NoitruQheDoituongBuonggiuongCollection().Where("id", Id).Load();
     return coll;
 }