Class Entity
Namespace: Casewhere.Models
Assembly: Casewhere.Models.dll
Represents an abstract base class for entities in Casewhere.
public abstract class Entity : IIdentity
Inheritance
Derived
AccessRule, AccessRuleResource, ComponentDataSource, DataClass, DataSource, DataTrigger, DevOpsPackage, DevOpsPackageItem, Document, DocumentUploadSession, DownloadToken, EventTrigger, HotUpdateConfig, Language, Page, PageCategory, PageV2, PersistedJob, Plugin, Process, Product, PublishedPage, PublishedWidget, ResourceDependency, RuntimeScheduler, Scheduler, SystemLogRule, Tag, TextResource, Theme, WebTrigger, Widget, WidgetCategory, WidgetFilter, WidgetPreferences, WidgetTemplate, WidgetV2, WorkerSite, WorkerSiteComponent, WorkflowBuildRun, WorkflowDefinition, WorkflowMonitor, WorkflowTestRun, WorkflowTestSetting
Implements
IIdentity
Inherited Members
object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()
Extension Methods
ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<Entity>(Entity)
Constructors
Entity()
protected Entity()
Properties
CreatedAt
Gets or sets the date and time when the entity was created.
[NonExportable]
public DateTime CreatedAt { get; set; }
Property Value
CreatedBy
Gets or sets the name of the user who created the entity.
[NonExportable]
public string CreatedBy { get; set; }
Property Value
Id
Gets or sets the unique identifier of the entity.
public Guid Id { get; set; }
Property Value
ModifiedAt
Gets or sets the date and time when the entity was last modified.
[NonExportable]
public DateTime? ModifiedAt { get; set; }
Property Value
ModifiedBy
Gets or sets the name of the user who last modified the entity.
[NonExportable]
public string ModifiedBy { get; set; }
Property Value
Version
Gets or sets the version number of the entity.
[NonExportable]
public long Version { get; set; }
Property Value
Methods
GetResourceName()
Gets the display name of the entity.
public virtual string GetResourceName()
Returns
The display name of the entity.