Esempio n. 1
0
 /// <summary>
 /// 删除内容页
 /// </summary>
 /// <param name="_ChannelId"></param>
 /// <param name="_ContentId"></param>
 public static void DeleteContent(string _module, string _ChannelId, string _ContentId)
 {
     IMD = (IModule)Activator.CreateInstance(Type.GetType(String.Format("JumboTCMS.DAL.Module_{0}DAL", _module), true, true));
     IMD.DeleteContent(_ChannelId, _ContentId);
 }
Esempio n. 2
0
 /// <summary>
 ///  删除内容页
 /// </summary>
 /// <param name="_moduletype"></param>
 /// <param name="_contentid"></param>
 public static void DeleteContent(string _moduletype, string _contentid)
 {
     IMD = (IModule)Activator.CreateInstance(Type.GetType(String.Format("JumboECMS.DAL.Module_{0}DAL", _moduletype), true, true));
     IMD.DeleteContent(_moduletype, _contentid);
 }
 /// <summary>
 /// 删除内容页
 /// </summary>
 /// <param name="_ChannelId"></param>
 /// <param name="_ContentId"></param>
 public static void DeleteContent(string _ContentId)
 {
     IMD = (IModule)Activator.CreateInstance(Type.GetType(String.Format("SiteGroupCms.DAL.Module_{0}DAL", "article"), true, true));
     IMD.DeleteContent(_ContentId);
 }