Class Favourite
Assembly: LemonEdge.API.Entities.Auto.dll
Syntax
[DataContract]
public class Favourite : BaseEntityWithPermissions, IFavourite, IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<IFavourite>
Constructors
Favourite()
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
FavouriteID
[Key] The globally unique id of the entity (of type FavouriteTypeID) being linked to
Declaration
public Guid FavouriteID { get; set; }
Property Value
FavouriteID_Label
Declaration
public string FavouriteID_Label { get; set; }
Property Value
FavouriteID_Label_Silent
Declaration
[NotMapped]
public string FavouriteID_Label_Silent { get; set; }
Property Value
FavouriteTypeID
[Key] The type of entity that is being linked to
Declaration
public Guid FavouriteTypeID { get; set; }
Property Value
Name
The name of the item being linked to by this favourite entity. Usually just the label from the entity as defined by
LabelColumn
Declaration
[Required]
[StringLength(500)]
public string Name { get; set; }
Property Value
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
CopyFromSource(IFavourite)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(IFavourite source)
Parameters
Type |
Name |
Description |
IFavourite |
source |
The source object to copy all values from.
|
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods