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