v9.8.2018.0605   由DataReader直接映射实体列表,以支持netstandard的MySql和SQLite,且提升性能
大石头 authored at 2018-06-05 00:45:23
563.00 B
X
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using XCode.Membership;

namespace NewLife.Cube
{
    /// <summary>没有权限</summary>
    public class NoPermissionException : Exception
    {
        /// <summary>权限</summary>
        public PermissionFlags Permission { get; }

        /// <summary>实例化</summary>
        /// <param name="pm"></param>
        /// <param name="message"></param>
        public NoPermissionException(PermissionFlags pm, String message) : base(message) => Permission = pm;
    }
}