示例#1
0
        public DDPermissionCollection FetchByQuery(Query qry)
        {
            DDPermissionCollection coll = new DDPermissionCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public DDPermissionCollection FetchAll()
        {
            DDPermissionCollection coll = new DDPermissionCollection();
            Query qry = new Query(DDPermission.Schema);

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