* Extend EntitySlim with key * Add ListView to GenericContentEntityDto and ContentEntitySlim * Move ContentTypeKey and ListViewKey back to BaseDto * Remove extra DB call when mapping to DocumentTypeReferenceResponseModel * Remove extra DB call when mapping to MediaTypeReferenceResponseModel * Remove duplicate db call for members * Remove now redundant base class * Fix comment
33 lines
769 B
C#
33 lines
769 B
C#
namespace Umbraco.Cms.Core.Models.Entities;
|
|
|
|
/// <summary>
|
|
/// Represents a lightweight content entity, managed by the entity service.
|
|
/// </summary>
|
|
public interface IContentEntitySlim : IEntitySlim
|
|
{
|
|
/// <summary>
|
|
/// Gets the content type alias.
|
|
/// </summary>
|
|
string ContentTypeAlias { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the content type key.
|
|
/// </summary>
|
|
Guid ContentTypeKey { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the listview key.
|
|
/// </summary>
|
|
Guid? ListViewKey { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the content type icon.
|
|
/// </summary>
|
|
string? ContentTypeIcon { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the content type thumbnail.
|
|
/// </summary>
|
|
string? ContentTypeThumbnail { get; }
|
|
}
|