diff --git a/src/Umbraco.Core/Models/Content.cs b/src/Umbraco.Core/Models/Content.cs index 79112f26cc..7baa382e24 100644 --- a/src/Umbraco.Core/Models/Content.cs +++ b/src/Umbraco.Core/Models/Content.cs @@ -84,7 +84,7 @@ namespace Umbraco.Core.Models public int ParentId { get { return _parentId; } - private set + set { _parentId = value; OnPropertyChanged(ParentIdSelector); diff --git a/src/Umbraco.Core/Models/IContentBase.cs b/src/Umbraco.Core/Models/IContentBase.cs index 3885d13460..99d42b5828 100644 --- a/src/Umbraco.Core/Models/IContentBase.cs +++ b/src/Umbraco.Core/Models/IContentBase.cs @@ -12,7 +12,7 @@ namespace Umbraco.Core.Models /// /// Gets or Sets the Id of the Parent for the Content /// - int ParentId { get; } + int ParentId { get; set; } /// /// Gets or Sets the Name of the Content