public TrackingEndQuery(IEndQuery <TIn, TOut> query) { _query = query; }
public SelectEndQuery(IQuery <TIn, TOut> selectQuery, IEndQuery <TOut, TOut> endQuery) { _selectQuery = selectQuery; _endQuery = endQuery; }
public override Task <TOut> ApplyAsync <TOut>(IEndQuery <TEntity, TOut> endQuery, CancellationToken cancellation = default) { TrackingVisitor.Visit(endQuery); return(base.ApplyAsync(endQuery, cancellation)); }
public static void Visit <TIn, TOut>(IEndQuery <TIn, TOut> query) where TIn : class where TOut : class { query = new TrackingEndQuery <TIn, TOut>(query); }
public virtual Task <TOut> ApplyAsync <TOut>(IEndQuery <TEntity, TOut> endQuery, CancellationToken cancellation = default) where TOut : class { return(endQuery.ApplyAsync(Entities, cancellation)); }