Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.36 KB

File metadata and controls

39 lines (26 loc) · 1.36 KB

GuidIdEntity Class

Abstract base class for all EF Core entities. It contains common audit properties and the
timestamp property.

public abstract class GuidIdEntity : Sagara.Core.Data.Models.Entity

Inheritance System.Object 🡒 Entity 🡒 GuidIdEntity

Constructors

GuidIdEntity() Constructor

Default .ctor. Initializes the Id and sets CreateUtc and UpdateUtc
to the current UTC date/time.

public GuidIdEntity();

Properties

GuidIdEntity.Id Property

The Entity's unique id (primary key). Must be assigned by the client.

public System.Guid Id { get; set; }

Property Value

System.Guid