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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }