Table of Contents

Class ViewDto

Namespace
Raytha.Application.Views
Assembly
Raytha.Application.dll
public record ViewDto : BaseAuditableEntityDto, IBaseEntityDto, IEquatable<BaseEntityDto>, IEquatable<BaseAuditableEntityDto>, IEquatable<ViewDto>
Inheritance
ViewDto
Implements
Inherited Members

Properties

Columns

public IEnumerable<string> Columns { get; init; }

Property Value

IEnumerable<string>

ContentType

public ContentTypeDto? ContentType { get; init; }

Property Value

ContentTypeDto

ContentTypeId

public ShortGuid ContentTypeId { get; init; }

Property Value

ShortGuid

DefaultNumberOfItemsPerPage

public int DefaultNumberOfItemsPerPage { get; init; }

Property Value

int

Description

public string Description { get; init; }

Property Value

string

DeveloperName

public string DeveloperName { get; init; }

Property Value

string

Filter

public IEnumerable<FilterCondition> Filter { get; init; }

Property Value

IEnumerable<FilterCondition>

IgnoreClientFilterAndSortQueryParams

public bool IgnoreClientFilterAndSortQueryParams { get; init; }

Property Value

bool

IsPublished

public bool IsPublished { get; init; }

Property Value

bool

Label

public string Label { get; init; }

Property Value

string

LastModifierUser

public AuditableUserDto? LastModifierUser { get; init; }

Property Value

AuditableUserDto

MaxNumberOfItemsPerPage

public int MaxNumberOfItemsPerPage { get; init; }

Property Value

int

RouteId

public ShortGuid? RouteId { get; init; }

Property Value

ShortGuid?

RoutePath

public string RoutePath { get; init; }

Property Value

string

Sort

public IEnumerable<ColumnSortOrder> Sort { get; init; }

Property Value

IEnumerable<ColumnSortOrder>

Methods

GetProjection()

public static Expression<Func<View, ViewDto>> GetProjection()

Returns

Expression<Func<View, ViewDto>>

GetProjection(View)

public static ViewDto GetProjection(View entity)

Parameters

entity View

Returns

ViewDto