namespace Umbraco.Cms.Core.Persistence;
///
/// Defines the base implementation of a reading repository.
///
public interface IReadRepository : IRepository
{
///
/// Gets an entity.
///
TEntity? Get(TId? id);
///
/// Gets entities.
///
IEnumerable GetMany(params TId[]? ids);
///
/// Gets a value indicating whether an entity exists.
///
bool Exists(TId id);
}