Lots of the repo interfaces moved

This commit is contained in:
Shannon
2019-11-12 14:16:50 +11:00
parent 545a427d11
commit f3aca158fb
15 changed files with 2 additions and 17 deletions

View File

@@ -1,25 +0,0 @@
using System.Collections.Generic;
namespace Umbraco.Core.Persistence
{
/// <summary>
/// Defines the base implementation of a reading repository.
/// </summary>
public interface IReadRepository<in TId, out TEntity> : IRepository
{
/// <summary>
/// Gets an entity.
/// </summary>
TEntity Get(TId id);
/// <summary>
/// Gets entities.
/// </summary>
IEnumerable<TEntity> GetMany(params TId[] ids);
/// <summary>
/// Gets a value indicating whether an entity exists.
/// </summary>
bool Exists(TId id);
}
}