Table of Contents

Interface IEntity<TKey>

Namespace
eQuantic.Core.Data.Repository
Assembly
eQuantic.Core.DataModel.dll

The entity with key interface. Unifies the data-layer contract with the domain contract (eQuantic.Core.Domain.Entities.IDomainEntity<TKey>): the key accessors come from the domain interface, so a single entity satisfies both worlds.

public interface IEntity<TKey> : IEntity, IDomainEntity<TKey>, IDomainEntity

Type Parameters

TKey

The type of the key.

Inherited Members
IDomainEntity<TKey>.GetKey()
IDomainEntity<TKey>.SetKey(TKey)