Lots of the repo interfaces moved
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user