예제 #1
0
 public bool Insert( int SitePageId,  int SectionId,  int PageStatusId,  int SecurityAccessTypeId,  int CreatorId,  string UniquePageName,  bool IsMainPage,  Guid RowGuid,  DateTime RevisionDate,  DateTime ModifiedDate,int SiteId)
 {
     SitePageDAC sitepageComponent = new SitePageDAC();
     int id = 0;
     BusinessLogicLayer.Common.ContentEntityLogic.Insert(ref id, "CP", Guid.NewGuid(), DateTime.Now);
     return sitepageComponent.InsertNewSitePage( id,  SectionId,  PageStatusId,  SecurityAccessTypeId,  CreatorId,  UniquePageName,  IsMainPage,  Guid.NewGuid(),  DateTime.Now,  DateTime.Now);
 }
예제 #2
0
 public bool Insert(SitePage sitepage)
 {
     SitePageDAC sitepageComponent = new SitePageDAC();
     int id = 0;
     BusinessLogicLayer.Common.ContentEntityLogic.Insert(ref id, "CP", Guid.NewGuid(), DateTime.Now);
     sitepage.SitePageId = id;
     return sitepageComponent.InsertNewSitePage( sitepage.SitePageId,  sitepage.SectionId,  sitepage.PageStatusId,  sitepage.SecurityAccessTypeId,  sitepage.CreatorId,  sitepage.UniquePageName,  sitepage.IsMainPage,  sitepage.RowGuid,  sitepage.RevisionDate,  sitepage.ModifiedDate);
 }