public KskChidinhClCollection FetchByQuery(Query qry) { KskChidinhClCollection coll = new KskChidinhClCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public KskChidinhClCollection FetchAll() { KskChidinhClCollection coll = new KskChidinhClCollection(); Query qry = new Query(KskChidinhCl.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public KskChidinhClCollection FetchByID(object IdChiDinh) { KskChidinhClCollection coll = new KskChidinhClCollection().Where("IdChiDinh", IdChiDinh).Load(); return(coll); }