Class DefaultWatcher
Inheritance
DefaultWatcher
Assembly: LemonEdge.API.Entities.Auto.dll
Syntax
[DataContract]
public class DefaultWatcher : BaseEntity, IDefaultWatcher, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<IDefaultWatcher>
Constructors
DefaultWatcher()
Declaration
Properties
CurrentRoleID
Indicates to create a new Watcher attached to the new item with the current Role set as the Watcher
Declaration
public bool CurrentRoleID { get; set; }
Property Value
CurrentTeamID
Indicates to create a new Watcher attached to the new item with the current Team set as the Watcher
Declaration
public bool CurrentTeamID { get; set; }
Property Value
CurrentUserID
Indicates to create a new Watcher attached to the new item with the current User set as the Watcher
Declaration
public bool CurrentUserID { get; set; }
Property Value
EntityTypeID
[Key] The Entity Type to attach this Watcher to when new instances of it are created
Declaration
[RequiredNoDefaultIDValidation]
public Guid EntityTypeID { get; set; }
Property Value
Indicates to create a new Watcher attached to the new item with the result of this formula as the Role set as the
Watcher
Declaration
public string RoleFormula { get; set; }
Property Value
RoleID
Links to IRole. Indicates to create a new Watcher attached to the new item with the specified Role
set as the Watcher
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
Indicates to create a new Watcher attached to the new item with the result of this formula as the Team set as the
Watcher
Declaration
public string TeamFormula { get; set; }
Property Value
TeamID
Links to ITeam. Indicates to create a new Watcher attached to the new item with the specified Team
set as the Watcher
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
Indicates to create a new Watcher attached to the new item with the result of this formula as the User set as the
Watcher
Declaration
public string UserFormula { get; set; }
Property Value
UserID
Links to IUser. Indicates to create a new Watcher attached to the new item with the specified User
set as the Watcher
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
Only adds the defaults if this formual evaluates to true.
Declaration
public string ValidFormula { get; set; }
Property Value
WatcherTypeID
[Key] Links to IWatcherType. The Watcher Type that will be assigned to the new Watcher
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(IDefaultWatcher)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(IDefaultWatcher source)
Parameters
Type |
Name |
Description |
IDefaultWatcher |
source |
The source object to copy all values from.
|
Implements
Extension Methods