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