Method Get
Get(IPrimaryKey, CancellationToken)
Retrieves the entity with the specified primary keys.
Task<T> Get(IPrimaryKey keys, CancellationToken cancellationToken = default)
Parameters
keys
IPrimaryKeyThe primary keys of the entity to retrieve.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<T>
A task that represents the asynchronous operation. The task result contains the retrieved entity.