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