Sitecore.FakeDb.Data.Engines.DataCommands.AddFromTemplateCommand.DoExecute C# (CSharp) Метод

DoExecute() защищенный Метод

protected DoExecute ( ) : Item
Результат Item
    protected override Item DoExecute()
    {
      var item = new DbItem(this.ItemName, this.NewId, this.TemplateId) { ParentID = this.Destination.ID };
      this.dataStorage.AddFakeItem(item, this.Destination.Language);

      return this.dataStorage.GetSitecoreItem(this.NewId, this.Destination.Language);
    }
  }