Class ExceptionEventState
- Namespace
- Geotab.Checkmate.ObjectModel.Exceptions
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Specify the current state of the ExceptionEvent.
public abstract class ExceptionEventState : NameEntity, IEntity, IComparable, IIdentifiable
- Inheritance
-
ExceptionEventState
- Implements
- Derived
- Inherited Members
Constructors
ExceptionEventState()
Initializes a new instance of the ExceptionEventState class.
protected ExceptionEventState()
ExceptionEventState(Id, string, short)
Initializes a new instance of the ExceptionEventState class.
protected ExceptionEventState(Id id, string name, short key)
Parameters
Properties
Id
Gets or sets the unique identifier for this entity.
public override Id? Id { get; set; }
Property Value
Key
Gets or sets the key of this entity that uniquely identifies it and is used when getting this entity from the database.
public short Key { get; set; }
Property Value
Name
Gets or sets the name of this entity which identifies it and is used when displaying this entity.
public override string? Name { get; set; }
Property Value
Methods
ExceptionEventStateFromId(Id?)
Returns a ExceptionEventState from the provided Id else Valid if it is not an existing ExceptionEventState.
public static ExceptionEventState ExceptionEventStateFromId(Id? id)
Parameters
id
IdThe id.
Returns
ExceptionEventStateFromKey(short?)
Returns a ExceptionEventState from the provided Id else Valid if it is not an existing ExceptionEventState.
public static ExceptionEventState ExceptionEventStateFromKey(short? key)
Parameters
key
short?The key.
Returns
IsSystemEntity()
Returns true if the class is a system entity, false otherwise.
public override bool IsSystemEntity()