dotnet-cqrs/OpenHarbor.CQRS.DynamicQuery.Abstractions/IQueryableProvider.cs

10 lines
289 B
C#
Raw Permalink Normal View History

using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace OpenHarbor.CQRS.DynamicQuery.Abstractions;
public interface IQueryableProvider<TSource>
{
Task<IQueryable<TSource>> GetQueryableAsync(object query, CancellationToken cancellationToken = default);
}