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