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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public TabRelMedicamentoTabCollection FetchByID(object IdRelMedicamentoTab)
        {
            TabRelMedicamentoTabCollection coll = new TabRelMedicamentoTabCollection().Where("idRelMedicamentoTab", IdRelMedicamentoTab).Load();

            return(coll);
        }