dotnet-cqrs/PoweredSoft.CQRS.DynamicQuery.Abstractions/IDynamicQuery.cs
2021-02-02 19:32:39 -05:00

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