Newer
Older
GuardClauses / src / ApplicationCore / Entities / BaseEntity.cs
@Derek Comartin Derek Comartin on 15 Aug 2022 321 bytes Init
namespace Microsoft.eShopWeb.ApplicationCore.Entities;

// This can easily be modified to be BaseEntity<T> and public T Id to support different key types.
// Using non-generic integer types for simplicity and to ease caching logic
public abstract class BaseEntity
{
    public virtual int Id { get; protected set; }
}