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); }
public AprRelPersonaFactorRiesgoInicialCollection FetchByID(object IdRelacion) { AprRelPersonaFactorRiesgoInicialCollection coll = new AprRelPersonaFactorRiesgoInicialCollection().Where("idRelacion", IdRelacion).Load(); return(coll); }