2018-01-15 11:32:30 +01:00
|
|
|
|
using System;
|
2018-01-15 13:44:49 +01:00
|
|
|
|
using System.Collections.Generic;
|
2018-01-15 11:32:30 +01:00
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Core.Models.Entities
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Represents a lightweight entity, managed by the entity service.
|
|
|
|
|
|
/// </summary>
|
2018-01-15 15:54:06 +01:00
|
|
|
|
public interface IEntitySlim : IUmbracoEntity, IHaveAdditionalData
|
2018-01-15 11:32:30 +01:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets the entity object type.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
Guid NodeObjectType { get; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets a value indicating whether the entity has children.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
bool HasChildren { get; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets a value indicating whether the entity is a container.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
bool IsContainer { get; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|