コード例 #1
0
        /// <summary>
        /// 新建
        /// </summary>
        public static PermissionItemsInRoles New()
        {
            PermissionItemsInRoles permissionItemsInRoles = new PermissionItemsInRoles();

            permissionItemsInRoles.Id       = 0;
            permissionItemsInRoles.Rolename = string.Empty;
            permissionItemsInRoles.Itemkey  = string.Empty;
            return(permissionItemsInRoles);
        }
コード例 #2
0
        /// <summary>
        /// 新建
        /// </summary>
        public static PermissionItemsInRoles New()
        {
            PermissionItemsInRoles permissionItemsInRoles = new PermissionItemsInRoles();

            permissionItemsInRoles.Id                  = 0;
            permissionItemsInRoles.Rolename            = string.Empty;
            permissionItemsInRoles.Itemkey             = string.Empty;
            permissionItemsInRoles.PermissionType      = 0;
            permissionItemsInRoles.PermissionQuota     =
                permissionItemsInRoles.PermissionScope = 0;
            permissionItemsInRoles.IsLocked            = false;
            return(permissionItemsInRoles);
        }