29 lines
697 B
C#
29 lines
697 B
C#
|
using System.Collections.Generic;
|
|||
|
using PoweredSoft.DynamicQuery.Core;
|
|||
|
|
|||
|
namespace OpenHarbor.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();
|
|||
|
}
|