Exemplo n.º 1
0
        public ConConsultaMedicamentoCollection FetchByQuery(Query qry)
        {
            ConConsultaMedicamentoCollection coll = new ConConsultaMedicamentoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public ConConsultaMedicamentoCollection FetchAll()
        {
            ConConsultaMedicamentoCollection coll = new ConConsultaMedicamentoCollection();
            Query qry = new Query(ConConsultaMedicamento.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public ConConsultaMedicamentoCollection FetchByID(object IdConsultaMedicamento)
        {
            ConConsultaMedicamentoCollection coll = new ConConsultaMedicamentoCollection().Where("idConsultaMedicamento", IdConsultaMedicamento).Load();

            return(coll);
        }