Table of Contents

Class ContentItemDto

Namespace
Raytha.Application.ContentItems
Assembly
Raytha.Application.dll
public record ContentItemDto : BaseEntityDto, IBaseEntityDto, IEquatable<BaseEntityDto>, IEquatable<ContentItemDto>
Inheritance
ContentItemDto
Implements
Inherited Members

Properties

ContentType

[JsonIgnore]
public ContentTypeDto? ContentType { get; init; }

Property Value

ContentTypeDto

ContentTypeId

public ShortGuid ContentTypeId { get; init; }

Property Value

ShortGuid

CreationTime

public DateTime CreationTime { get; init; }

Property Value

DateTime

CreatorUser

public AuditableUserDto? CreatorUser { get; init; }

Property Value

AuditableUserDto

DraftContent

public dynamic DraftContent { get; init; }

Property Value

dynamic

IsDraft

public bool IsDraft { get; init; }

Property Value

bool

IsPublished

public bool IsPublished { get; init; }

Property Value

bool

LastModificationTime

public DateTime? LastModificationTime { get; init; }

Property Value

DateTime?

LastModifierUser

public AuditableUserDto? LastModifierUser { get; init; }

Property Value

AuditableUserDto

PrimaryField

public string PrimaryField { get; init; }

Property Value

string

PublishedContent

public dynamic PublishedContent { get; init; }

Property Value

dynamic

RouteId

[JsonIgnore]
public ShortGuid RouteId { get; init; }

Property Value

ShortGuid

RoutePath

public string RoutePath { get; init; }

Property Value

string

Methods

GetProjection()

public static Expression<Func<ContentItem, ContentItemDto>> GetProjection()

Returns

Expression<Func<ContentItem, ContentItemDto>>

GetProjection(ContentItem)

public static ContentItemDto GetProjection(ContentItem entity)

Parameters

entity ContentItem

Returns

ContentItemDto

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.