public AprFactorRiesgoEstiloVidaCollection FetchByQuery(Query qry)
        {
            AprFactorRiesgoEstiloVidaCollection coll = new AprFactorRiesgoEstiloVidaCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public AprFactorRiesgoEstiloVidaCollection FetchAll()
        {
            AprFactorRiesgoEstiloVidaCollection coll = new AprFactorRiesgoEstiloVidaCollection();
            Query qry = new Query(AprFactorRiesgoEstiloVida.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public AprFactorRiesgoEstiloVidaCollection FetchByID(object IdFactorRiesgoEstiloVida)
        {
            AprFactorRiesgoEstiloVidaCollection coll = new AprFactorRiesgoEstiloVidaCollection().Where("idFactorRiesgoEstiloVida", IdFactorRiesgoEstiloVida).Load();

            return(coll);
        }