Class ContentTypeDto
- Namespace
- Raytha.Application.ContentTypes
- Assembly
- Raytha.Application.dll
public record ContentTypeDto : BaseEntityDto, IBaseEntityDto, IEquatable<BaseEntityDto>, IEquatable<ContentTypeDto>
- Inheritance
-
ContentTypeDto
- Implements
-
- Inherited Members
-
Properties
ContentTypeFields
public IEnumerable<ContentTypeFieldDto> ContentTypeFields { get; init; }
Property Value
- IEnumerable<ContentTypeFieldDto>
DefaultRouteTemplate
public string DefaultRouteTemplate { get; init; }
Property Value
- string
Description
public string Description { get; init; }
Property Value
- string
DeveloperName
public string DeveloperName { get; init; }
Property Value
- string
IsActive
public bool IsActive { get; init; }
Property Value
- bool
LabelPlural
public string LabelPlural { get; init; }
Property Value
- string
LabelSingular
public string LabelSingular { get; init; }
Property Value
- string
PrimaryField
public ContentTypeFieldDto PrimaryField { get; }
Property Value
- ContentTypeFieldDto
PrimaryFieldId
public ShortGuid PrimaryFieldId { get; init; }
Property Value
- ShortGuid
Methods
GetCustomField(string)
public ContentTypeFieldDto GetCustomField(string developerName)
Parameters
developerName
string
Returns
- ContentTypeFieldDto
GetProjection()
public static Expression<Func<ContentType, ContentTypeDto>> GetProjection()
Returns
- Expression<Func<ContentType, ContentTypeDto>>
GetProjection(ContentType)
public static ContentTypeDto GetProjection(ContentType entity)
Parameters
entity
ContentType
Returns
- ContentTypeDto