Table of Contents

Class EntityBase<TId>

Namespace
OpenSettings.Domains.Sql.Entities
Assembly
OpenSettings.dll

A base entity class that provides common properties for all entities.

public abstract class EntityBase<TId>

Type Parameters

TId

The type of the entity's identifier.

Inheritance
EntityBase<TId>
Derived
Inherited Members

Properties

CreatedOn

The date and time when the entity was created.

public virtual DateTime CreatedOn { get; set; }

Property Value

DateTime

Id

The unique identifier for the entity.

public virtual TId Id { get; set; }

Property Value

TId

UpdatedOn

The date and time when the entity was last updated, or null if never updated.

public virtual DateTime? UpdatedOn { get; set; }

Property Value

DateTime?