34 lines
823 B
C#
34 lines
823 B
C#
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
|
|
{
|
|
|
|
}
|
|
|
|
public interface IDynamicQuery<TSource, TDestination, 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();
|
|
}
|
|
}
|