public SysPaisBkpCollection FetchByQuery(Query qry) { SysPaisBkpCollection coll = new SysPaisBkpCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysPaisBkpCollection FetchAll() { SysPaisBkpCollection coll = new SysPaisBkpCollection(); Query qry = new Query(SysPaisBkp.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysPaisBkpCollection FetchByID(object IdPais) { SysPaisBkpCollection coll = new SysPaisBkpCollection().Where("idPais", IdPais).Load(); return(coll); }