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