public KnDangkyXnCollection FetchByQuery(Query qry) { KnDangkyXnCollection coll = new KnDangkyXnCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public KnDangkyXnCollection FetchAll() { KnDangkyXnCollection coll = new KnDangkyXnCollection(); Query qry = new Query(KnDangkyXn.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public KnDangkyXnCollection FetchByID(object MaDangky) { KnDangkyXnCollection coll = new KnDangkyXnCollection().Where("ma_dangky", MaDangky).Load(); return(coll); }