public KcbDmucLuotkhamCollection FetchByQuery(Query qry) { KcbDmucLuotkhamCollection coll = new KcbDmucLuotkhamCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public KcbDmucLuotkhamCollection FetchAll() { KcbDmucLuotkhamCollection coll = new KcbDmucLuotkhamCollection(); Query qry = new Query(KcbDmucLuotkham.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }