Skip to content

Latest commit

 

History

History
80 lines (51 loc) · 2.05 KB

Sagara.Core.Data.Models.IEntity.md

File metadata and controls

80 lines (51 loc) · 2.05 KB

IEntity Interface

Implemented by Entity, from which all non-Identity entities derive, and also by
any IdentityUser-derived classes.

public interface IEntity

Derived
Entity

Properties

IEntity.CreateUserId Property

UserId of the person who created the entity.

System.Guid CreateUserId { get; set; }

Property Value

System.Guid

IEntity.CreateUtc Property

UTC date/time when the entity was created.

System.DateTime CreateUtc { get; set; }

Property Value

System.DateTime

IEntity.Timestamp Property

SQL Server timestamp field, used for concurrency checking.

byte[] Timestamp { get; set; }

Property Value

System.Byte[]

IEntity.UpdateUserId Property

UserId of the person who last updated the entity.

System.Guid UpdateUserId { get; set; }

Property Value

System.Guid

IEntity.UpdateUtc Property

UTC date/time when the entity was last updated.

System.DateTime UpdateUtc { get; set; }

Property Value

System.DateTime