Example #1
0
 /// <summary>
 /// 生成内容页
 /// </summary>
 /// <param name="_ChannelId"></param>
 /// <param name="_ContentId"></param>
 /// <param name="_CurrentPage"></param>
 public static void CreateContent(string _module, string _ChannelId, string _ContentId, int _CurrentPage)
 {
     IMD = (IModule)Activator.CreateInstance(Type.GetType(String.Format("JumboTCMS.DAL.Module_{0}DAL", _module), true, true));
     IMD.CreateContent(_ChannelId, _ContentId, _CurrentPage);
 }
Example #2
0
 /// <summary>
 /// 生成内容页
 /// </summary>
 /// <param name="_moduletype"></param>
 /// <param name="_contentid"></param>
 /// <param name="_page"></param>
 public static void CreateContent(string _moduletype, string _contentid, int _page)
 {
     IMD = (IModule)Activator.CreateInstance(Type.GetType(String.Format("JumboECMS.DAL.Module_{0}DAL", _moduletype), true, true));
     IMD.CreateContent(_moduletype, _contentid, _page);
 }
 /// <summary>
 /// 生成内容页
 /// </summary>
 /// <param name="_ChannelId"></param>
 /// <param name="_ContentId"></param>
 /// <param name="_CurrentPage"></param>
 public static void CreateContent(string _ContentId)
 {
     IMD = (IModule)Activator.CreateInstance(Type.GetType(String.Format("SiteGroupCms.Dal.Module_{0}DAL", "article"), true, true));
     IMD.CreateContent(_ContentId);
 }