/// <summary>
 /// 获取模块所属的应用
 /// </summary>
 /// <returns></returns>
 public SysApplication OwnerApplication()
 {
     if (!String.IsNullOrEmpty(ApplicationID))
     {
         return(SysApplication.Find(this.ApplicationID));
     }
     else
     {
         return(null);
     }
 }
Exemple #2
0
        /// <summary>
        /// 由系统应用更新权限
        /// </summary>
        public void UpdateByApplication(string appid)
        {
            SysApplication app = SysApplication.Find(appid);

            this.UpdateByApplication(app);
        }