コード例 #1
0
        public SysMedicamentoRubroCollection FetchByQuery(Query qry)
        {
            SysMedicamentoRubroCollection coll = new SysMedicamentoRubroCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public SysMedicamentoRubroCollection FetchAll()
        {
            SysMedicamentoRubroCollection coll = new SysMedicamentoRubroCollection();
            Query qry = new Query(SysMedicamentoRubro.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public SysMedicamentoRubroCollection FetchByID(object IdMedicamentoRubro)
        {
            SysMedicamentoRubroCollection coll = new SysMedicamentoRubroCollection().Where("idMedicamentoRubro", IdMedicamentoRubro).Load();

            return(coll);
        }