Class RecentItem
Assembly: LemonEdge.API.Entities.Auto.dll
Syntax
[DataContract]
public class RecentItem : BaseEntityWithPermissions, IRecentItem, IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<IRecentItem>
Constructors
RecentItem()
Declaration
Properties
CustomLayoutID
Links to ILayout. Any custom layout to apply to this item when being displayed.
Declaration
public Guid? CustomLayoutID { get; set; }
Property Value
CustomLayoutID_Label
Declaration
public string CustomLayoutID_Label { get; set; }
Property Value
CustomLayoutID_Label_Silent
Declaration
[NotMapped]
public string CustomLayoutID_Label_Silent { get; set; }
Property Value
Name
The name of the item being linked to by this recent item entity. Usually just the label from the entity as defined by
LabelColumn
Declaration
[Required]
[StringLength(500)]
public string Name { get; set; }
Property Value
RecentItemID
[Key] The globally unique id of the entity (of type FavouriteTypeID) being linked to
Declaration
public Guid RecentItemID { get; set; }
Property Value
RecentItemID_Label
Declaration
public string RecentItemID_Label { get; set; }
Property Value
RecentItemID_Label_Silent
Declaration
[NotMapped]
public string RecentItemID_Label_Silent { get; set; }
Property Value
RecentItemTypeID
[Key] The type of entity that is being linked to
Declaration
public Guid RecentItemTypeID { get; set; }
Property Value
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
CopyFromSource(IRecentItem)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(IRecentItem source)
Parameters
Type |
Name |
Description |
IRecentItem |
source |
The source object to copy all values from.
|
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods