2021-02-02 19:01:29 -05:00
|
|
|
|
using PoweredSoft.DynamicQuery.Core;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace PoweredSoft.CQRS.DynamicQuery.Abstractions
|
|
|
|
|
{
|
|
|
|
|
public interface IDynamicQuery<TSource, TDestination> : IDynamicQuery
|
|
|
|
|
where TSource : class
|
|
|
|
|
where TDestination : class
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2021-02-02 19:32:39 -05:00
|
|
|
|
public interface IDynamicQuery<TSource, TDestination, TParams> : IDynamicQuery<TSource, TDestination>, IDynamicQueryParams<TParams>
|
|
|
|
|
where TSource : class
|
|
|
|
|
where TDestination : class
|
|
|
|
|
where TParams : class
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2021-02-02 19:01:29 -05:00
|
|
|
|
public interface IDynamicQuery
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
List<IFilter> GetFilters();
|
|
|
|
|
List<IGroup> GetGroups();
|
|
|
|
|
List<ISort> GetSorts();
|
|
|
|
|
List<IAggregate> GetAggregates();
|
|
|
|
|
int? GetPage();
|
|
|
|
|
int? GetPageSize();
|
|
|
|
|
}
|
|
|
|
|
}
|