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

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

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