Content Backup


Content Backup

Project Manager: James Fleming



We need to finish the backing up of content when its override by replacement text.

 


                // Backup Old
                List ListWikiInformation = LogicWikiInformation.Find(Logic.WikiInformationLogic.FindType.Item, modelWikiInformation.Id) as List;

                Models.RevisionInformationModel ModelRevisionInformation = new Models.RevisionInformationModel();
                ModelRevisionInformation.Context = ListWikiInformation[0].Context;
                ModelRevisionInformation.DateCreated = DateTime.Now;
                ModelRevisionInformation.DateUpdated = DateTime.Now;
                ModelRevisionInformation.MemberId = LogicSystemAuthentication.GetLoggedInUser().Id;
                ModelRevisionInformation.ContentId = modelWikiInformation.Id;
                ModelRevisionInformation.TypeId = "14";

                Logic.RevisionInformationLogic LogicRevisionInformation = new Logic.RevisionInformationLogic();
                LogicRevisionInformation.Insert(ModelRevisionInformation);



SECTION

×
MEMBER
Login
SERVICES
Animator Artist 2d Artist 3d Audio Engineer Game Creation Game Producer Graphic Designer Marketing Package Asset Programmer Story & Asset Writer Tutorial Video Production
ARTICLE CATEGORY
Animation Audio Production Cloud Gaming Game Development Graphic Design Marketing NFT Game Development Services Video Production