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