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); }
public SysDepartamentoBkpCollection FetchByID(object IdDepartamento) { SysDepartamentoBkpCollection coll = new SysDepartamentoBkpCollection().Where("idDepartamento", IdDepartamento).Load(); return(coll); }