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