Sky.Net/Core/Specifications/ISpecification.cs
2022-05-11 16:24:26 -07:00

16 lines
431 B
C#

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; }
}
}