private SyncItem CreateSyncItem(string name, string database, string itemPath, string parentID, string templatePath) { SyncItem syncItem = new SyncItem { ID = MainUtil.GetNewID(), DatabaseName = database, ItemPath = String.Format("{0}/{1}", itemPath, name), ParentID = parentID, Name = name, MasterID = Guid.Empty.ToString(), TemplateID = TemplateIdResolver.Instance.GetTemplateId(templatePath), TemplateName = SitecoreUtils.GetTemplateName(templatePath) }; syncItem.AddVersion(_config.BuildSyncVersion()); return(syncItem); }