public KetnoiMappingHisLiCollection FetchByQuery(Query qry) { KetnoiMappingHisLiCollection coll = new KetnoiMappingHisLiCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public KetnoiMappingHisLiCollection FetchAll() { KetnoiMappingHisLiCollection coll = new KetnoiMappingHisLiCollection(); Query qry = new Query(KetnoiMappingHisLi.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public KetnoiMappingHisLiCollection FetchByID(object Id) { KetnoiMappingHisLiCollection coll = new KetnoiMappingHisLiCollection().Where("ID", Id).Load(); return(coll); }