15 lines
361 B
C#
15 lines
361 B
C#
using System.Linq.Expressions;
|
|
|
|
namespace IM.Commons
|
|
{
|
|
public interface ISpecification<T, TResut> : ISpecification<T>
|
|
{
|
|
public Expression<Func<T, TResut>> Select { get; }
|
|
}
|
|
public interface ISpecification<T>
|
|
{
|
|
Expression<Func<T, bool>> Criteria { get; }
|
|
List<Expression<Func<T, object>>> Includes { get; }
|
|
}
|
|
}
|