示例#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);
        }
示例#3
0
        public DDPermissionCollection FetchByID(object RoleID)
        {
            DDPermissionCollection coll = new DDPermissionCollection().Where("RoleID", RoleID).Load();

            return(coll);
        }