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

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

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

            return(coll);
        }