Common interface of repositories.
Assembly: Epic.Core
Declaration Syntax
C# |
public interface IRepository<TEntity, TIdentity> where TEntity : class where TIdentity : Object, IEquatable<TIdentity>
Generic Template Parameters
- TEntity
- Accessible entity.
- TIdentity
- TEntity's identifier.
Remarks
This is the base interface for repositories, in Epic.
Members
All Members | Properties | ||||
Member | Description | |
---|---|---|
Item[([( TIdentity])]) |
Gets the TEntity identified by identity.
|