예제 #1
0
        public SysMedicamentoCollection FetchByQuery(Query qry)
        {
            SysMedicamentoCollection coll = new SysMedicamentoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public SysMedicamentoCollection FetchAll()
        {
            SysMedicamentoCollection coll = new SysMedicamentoCollection();
            Query qry = new Query(SysMedicamento.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public SysMedicamentoCollection FetchByID(object IdMedicamento)
        {
            SysMedicamentoCollection coll = new SysMedicamentoCollection().Where("idMedicamento", IdMedicamento).Load();

            return(coll);
        }