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