Table of Contents

Class DisplayItemModel

Namespace
Songhay.Models
Assembly
SonghayCore.dll

Model for display item.

public class DisplayItemModel : ISortable, ITemporal
Inheritance
DisplayItemModel
Implements
Derived
Inherited Members
Extension Methods

Remarks

This class was originally developed to compensate for RIA Services not supporting composition of Entity Framework entities where an Entity is the property of another object.

Properties

Description

Gets or sets the description.

public string? Description { get; set; }

Property Value

string

DisplayText

Gets or sets the display text.

public string? DisplayText { get; set; }

Property Value

string

EndDate

End/expiration DateTime of the item.

public DateTime? EndDate { get; set; }

Property Value

DateTime?

Id

Gets or sets the identifier.

public int Id { get; set; }

Property Value

int

InceptDate

Origin DateTime of the item.

public DateTime? InceptDate { get; set; }

Property Value

DateTime?

ItemName

Gets or sets the item name.

public string? ItemName { get; set; }

Property Value

string

ModificationDate

Modification/editorial DateTime of the item.

public DateTime? ModificationDate { get; set; }

Property Value

DateTime?

ResourceIndicator

Gets or sets the resource indicator.

public Uri? ResourceIndicator { get; set; }

Property Value

Uri

SortOrdinal

Gets or sets the sort ordinal.

public byte SortOrdinal { get; set; }

Property Value

byte

Tag

Gets or sets the tag.

public object? Tag { get; set; }

Property Value

object

Methods

ToString()

Represents this instance as a string.

public override string ToString()

Returns

string