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