dotnet-cqrs/PoweredSoft.CQRS.DynamicQuery.Abstractions/IDynamicQuery.cs
2023-10-02 11:25:45 -04:00

31 lines
785 B
C#

using System.Collections.Generic;
using PoweredSoft.DynamicQuery.Core;
namespace PoweredSoft.CQRS.DynamicQuery.Abstractions
{
public interface IDynamicQuery<TSource, TDestination> : IDynamicQuery
where TSource : class
where TDestination : class
{
}
public interface IDynamicQuery<TSource, TDestination, out TParams> : IDynamicQuery<TSource, TDestination>, IDynamicQueryParams<TParams>
where TSource : class
where TDestination : class
where TParams : class
{
}
public interface IDynamicQuery
{
List<IFilter> GetFilters();
List<IGroup> GetGroups();
List<ISort> GetSorts();
List<IAggregate> GetAggregates();
int? GetPage();
int? GetPageSize();
}
}