Class ChangeEntityAlertType
Represents a link to alert type that needs to be generated, if specific entity has been changed.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class ChangeEntityAlertType : DomainObjectBase, IValidator, IExtensibleDataObject, IEquatable<ChangeEntityAlertType>
Constructors
ChangeEntityAlertType()
Declaration
public ChangeEntityAlertType()
Properties
AlertTypeId
Gets or sets the identifier of alert type that needs to be generated.
Declaration
public int AlertTypeId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
EntityId
Gets or sets the identifier of the entity that needs to be monitored.
Declaration
public int EntityId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
EntityType
Gets or sets the monitoring entity's type.
Declaration
public EntityType EntityType { get; set; }
Property Value
Type | Description |
---|---|
EntityType |
ObjectType
Gets object type identifier.
Declaration
public override EntityType ObjectType { get; }
Property Value
Type | Description |
---|---|
EntityType |
Overrides
Methods
Equals(ChangeEntityAlertType)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(ChangeEntityAlertType other)
Parameters
Type | Name | Description |
---|---|---|
ChangeEntityAlertType | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
Boolean | True, if objects are equal. False, if objects are not equal. |
Equals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
Boolean | True, if objects are equal. False, if objects are not equal. |
Overrides
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | Hash code of the current instance. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A string that represents the current object. |
Overrides
Validate()
Evaluates the state of this object.
Declaration
public override bool Validate()
Returns
Type | Description |
---|---|
Boolean | True if state is valid; otherwise, false. |