Interface IUmbracoEntity
Namespace:System.Dynamic.ExpandoObject
Assembly:Umbraco.Core.dll
Syntax
public interface IUmbracoEntity : IAggregateRoot, IDeletableEntity, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Properties
AdditionalData
Some entities may expose additional data that other's might not, this custom data will be available in this collection
Declaration
IDictionary<string, object> AdditionalData { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> |
CreatorId
Profile of the user who created this Entity
Declaration
int CreatorId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Level
Gets or sets the level of the Entity
Declaration
int Level { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Name
Gets or Sets the Name of the Entity
Declaration
string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ParentId
Gets or sets the Id of the Parent Entity
Declaration
int ParentId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Path
Gets or sets the path to the Entity
Declaration
string Path { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SortOrder
Gets or sets the sort order of the Entity
Declaration
int SortOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Trashed
Boolean indicating whether this Entity is Trashed or not. If an Entity is Trashed it will be located in the Recyclebin.
Declaration
bool Trashed { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
When content is trashed it should be unpublished. Not all entities support being trashed, they'll always return false.