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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public TabMedicamentoTabaquismoCollection FetchByID(object IdMedicamentoControl)
        {
            TabMedicamentoTabaquismoCollection coll = new TabMedicamentoTabaquismoCollection().Where("idMedicamentoControl", IdMedicamentoControl).Load();

            return(coll);
        }