using System; using System.Collections.Generic; using System.Text; namespace PoweredSoft.DynamicQuery.Core { public interface IAggregateResult { string Path { get; set; } AggregateType Type { get; set; } object Value { get; set; } } public interface IQueryResult { List Aggregates { get; } List Data { get; } } public interface IGroupQueryResult : IQueryResult { string GroupPath { get; set; } object GroupValue { get; set; } bool HasSubGroups { get; } List> SubGroups { get; set; } } public interface IQueryExecutionResultPaging { long TotalRecords { get; set; } long? NumberOfPages { get; set; } } public interface IQueryExecutionResult : IQueryResult, IQueryExecutionResultPaging { } public interface IQueryExecutionGroupResult : IQueryExecutionResult { List> Groups { get; set; } } }