12 lines
328 B
C#
12 lines
328 B
C#
using Domains;
|
|
|
|
namespace Infrastructure.Database.Generic
|
|
{
|
|
public interface IGenericReader
|
|
{
|
|
/// Get all entities of type <typeparamref name="T"/> stored in storage
|
|
/// <typeparam name="T">Entity type to seek in storage</typeparam>
|
|
IQueryable<T> GetAll<T>() where T : class, IEntity;
|
|
}
|
|
}
|