You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
610 B
20 lines
610 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq.Expressions;
|
|
|
|
namespace Microsoft.eShopWeb.ApplicationCore.Interfaces
|
|
{
|
|
public interface ISpecification<T>
|
|
{
|
|
Expression<Func<T, bool>> Criteria { get; }
|
|
List<Expression<Func<T, object>>> Includes { get; }
|
|
List<string> IncludeStrings { get; }
|
|
Expression<Func<T, object>> OrderBy { get; }
|
|
Expression<Func<T, object>> OrderByDescending { get; }
|
|
Expression<Func<T, object>> GroupBy { get; }
|
|
|
|
int Take { get; }
|
|
int Skip { get; }
|
|
bool isPagingEnabled { get;}
|
|
}
|
|
}
|
|
|