Sky.Net/Core/Specifications/ISpecification.cs

16 lines
431 B
C#
Raw Normal View History

2022-05-10 15:45:47 -07:00
using System.Linq.Expressions;
namespace Core.Specifications
{
public interface ISpecification<T>
{
Expression<Func<T, bool>> Criteria { get; }
List<Expression<Func<T, object>>> Includes { get; }
Expression<Func<T, object>> OrderBy { get; }
Expression<Func<T, object>> OrderByDecending { get; }
int Take {get; }
int Skip {get; }
bool IsPagingEnabled {get; }
2022-05-10 15:45:47 -07:00
}
}