Пример #1
0
        public DDRoleCollection FetchByQuery(Query qry)
        {
            DDRoleCollection coll = new DDRoleCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public DDRoleCollection FetchAll()
        {
            DDRoleCollection coll = new DDRoleCollection();
            Query            qry  = new Query(DDRole.Schema);

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