Exemple #1
0
        public AprEstiloVidaCollection FetchByQuery(Query qry)
        {
            AprEstiloVidaCollection coll = new AprEstiloVidaCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #2
0
        public AprEstiloVidaCollection FetchAll()
        {
            AprEstiloVidaCollection coll = new AprEstiloVidaCollection();
            Query qry = new Query(AprEstiloVida.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #3
0
        public AprEstiloVidaCollection FetchByID(object IdEstiloVida)
        {
            AprEstiloVidaCollection coll = new AprEstiloVidaCollection().Where("idEstiloVida", IdEstiloVida).Load();

            return(coll);
        }