Table of Contents

Class EntityBase

Namespace
MADE.Data.EFCore
Assembly
MADE.Data.EFCore.dll

Defines a base definition for an entity.

public abstract class EntityBase : IEntityBase, IEntityBase<Guid>, IDatedEntity
Inheritance
EntityBase
Implements
Inherited Members
Extension Methods

Properties

CreatedDate

Gets or sets the date of the entity's creation.

public virtual DateTime CreatedDate { get; set; }

Property Value

DateTime

Id

Gets or sets the identifier of the entity.

[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public Guid Id { get; set; }

Property Value

Guid

UpdatedDate

Gets or sets the date of the entity's last update.

public virtual DateTime? UpdatedDate { get; set; }

Property Value

DateTime?