oops, overwrote previous changes to CmsNode, now merged them back in properly.
This commit is contained in:
@@ -1114,7 +1114,7 @@ order by level,sortOrder";
|
||||
_isTrashed = dr.GetBoolean("trashed");
|
||||
}
|
||||
|
||||
internal protected void PopulateCMSNodeFromContentBase(IContentBase content, Guid objectType)
|
||||
internal protected void PopulateCMSNodeFromUmbracoEntity(IUmbracoEntity content, Guid objectType)
|
||||
{
|
||||
_uniqueID = content.Key;
|
||||
_nodeObjectType = objectType;
|
||||
@@ -1129,21 +1129,6 @@ order by level,sortOrder";
|
||||
_entity = content;
|
||||
}
|
||||
|
||||
internal protected void PopulateCMSNodeFromContentTypeBase(IContentTypeBase contentType, Guid objectType)
|
||||
{
|
||||
_uniqueID = contentType.Key;
|
||||
_nodeObjectType = objectType;
|
||||
_level = contentType.Level;
|
||||
_path = contentType.Path;
|
||||
_parentid = contentType.ParentId;
|
||||
_text = contentType.Name;
|
||||
_sortOrder = contentType.SortOrder;
|
||||
_userId = contentType.CreatorId;
|
||||
_createDate = contentType.CreateDate;
|
||||
_isTrashed = false;
|
||||
_entity = contentType;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Private Methods
|
||||
|
||||
Reference in New Issue
Block a user