Exemple #1
0
 /// <summary>
 /// 初始化对象标识值
 /// </summary>
 public override void InitIdentityValue()
 {
     Id = SysManager.GetId(SysModuleObject.Permission);
 }
Exemple #2
0
 /// <summary>
 /// 生成角色编号
 /// </summary>
 /// <returns></returns>
 public static long GenerateAuthorityGroupId()
 {
     return(SysManager.GetId(SysModuleObject.AuthorityGroup));
 }
 /// <summary>
 /// 生成操作分组对象编号
 /// </summary>
 /// <returns>返回操作分组编号</returns>
 public static long GenerateOperationGroupId()
 {
     return(SysManager.GetId(SysModuleObject.OperationGroup));
 }
Exemple #4
0
 /// <summary>
 /// 生成用户编号
 /// </summary>
 /// <returns></returns>
 public static long GenerateUserId()
 {
     return(SysManager.GetId(SysModuleObject.User));
 }
Exemple #5
0
 /// <summary>
 /// 生成角色编号
 /// </summary>
 /// <returns></returns>
 public static long GenerateRoleId()
 {
     return(SysManager.GetId(SysModuleObject.Role));
 }
 /// <summary>
 /// 生成一个操作编号
 /// </summary>
 /// <returns></returns>
 public static long GenerateAuthorityOperationId()
 {
     return(SysManager.GetId(SysModuleObject.AuthorityOperation));
 }
Exemple #7
0
 /// <summary>
 /// 初始化对象标识值
 /// </summary>
 public override void InitIdentityValue()
 {
     SysNo = SysManager.GetId(SysModuleObject.Authority);
 }