public void UpdateThemeConfig(WTF.Theme.Entity.Theme_ThemeConfig objTheme_ThemeConfig) { objTheme_ThemeConfig.ThemeConfigName.CheckIsNull <string>("请输入主题名称", "UserLog"); objTheme_ThemeConfig.Theme.CheckIsNull <string>("请输入主题样式", "UserLog"); objTheme_ThemeConfig.LayoutPath.CheckIsNull <string>("请输入布局样式", "UserLog"); this.CurrentEntities.SaveChanges(); }
public void AddTotheme_themeconfig(Theme_ThemeConfig theme_ThemeConfig) { base.AddObject("theme_themeconfig", theme_ThemeConfig); }