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