Class Watcher
Assembly: LemonEdge.API.Entities.Auto.dll
Syntax
[DataContract]
public class Watcher : BaseEntity, IWatcher, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<IWatcher>
Constructors
Watcher()
Declaration
Properties
EntityID
[Key] The globally unique id of the entity that this watcher is against
Declaration
[RequiredNoDefaultIDValidation]
public Guid EntityID { get; set; }
Property Value
EntityTypeID
[Key] The type of entity that this watcher is against
Declaration
[RequiredNoDefaultIDValidation]
public Guid EntityTypeID { get; set; }
Property Value
RoleID
[Key] Links to IRole. Optional - The Role (and thus all Users of the Role) that is watching this
item
A User, Role or Team must be selected as a Watcher, though the rest can be blank
Declaration
public Guid? RoleID { get; set; }
Property Value
RoleID_Label
Declaration
public string RoleID_Label { get; set; }
Property Value
RoleID_Label_Silent
Declaration
[NotMapped]
public string RoleID_Label_Silent { get; set; }
Property Value
TeamID
[Key] Links to ITeam. Optional - The Team (and thus all Users of the Team) that is watching this
item
A User, Role or Team must be selected as a Watcher, though the rest can be blank
Declaration
public Guid? TeamID { get; set; }
Property Value
TeamID_Label
Declaration
public string TeamID_Label { get; set; }
Property Value
TeamID_Label_Silent
Declaration
[NotMapped]
public string TeamID_Label_Silent { get; set; }
Property Value
UserID
[Key] Links to IUser. Optional - The User that is watching this item
A User, Role or Team must be selected as a Watcher, though the rest can be blank
Declaration
public Guid? UserID { get; set; }
Property Value
UserID_Label
Declaration
public string UserID_Label { get; set; }
Property Value
UserID_Label_Silent
Declaration
[NotMapped]
public string UserID_Label_Silent { get; set; }
Property Value
WatcherTypeID
Declaration
[RequiredNoDefaultIDValidation]
public Guid WatcherTypeID { get; set; }
Property Value
WatcherTypeID_Label
Declaration
public string WatcherTypeID_Label { get; set; }
Property Value
WatcherTypeID_Label_Silent
Declaration
[NotMapped]
public string WatcherTypeID_Label_Silent { get; set; }
Property Value
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
CopyFromSource(IWatcher)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(IWatcher source)
Parameters
Type |
Name |
Description |
IWatcher |
source |
The source object to copy all values from.
|
Implements
Extension Methods