From d6b4307c8df5d27cb4e16662fecbccb19b70014c Mon Sep 17 00:00:00 2001 From: "Morten@Thinkpad-X220" Date: Wed, 3 Oct 2012 10:27:43 -0200 Subject: [PATCH] Undoing the private set on Parent Id as it should be possible to change --- src/Umbraco.Core/Models/Content.cs | 2 +- src/Umbraco.Core/Models/IContentBase.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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