Files
IM_NEW/IM.Commons/ISpecification.cs
2026-05-09 17:06:30 +08:00

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