public TrackingEndQuery(IEndQuery <TIn, TOut> query)
 {
     _query = query;
 }
Esempio n. 2
0
 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));
 }
Esempio n. 4
0
 public static void Visit <TIn, TOut>(IEndQuery <TIn, TOut> query) where TIn : class where TOut : class
 {
     query = new TrackingEndQuery <TIn, TOut>(query);
 }
Esempio n. 5
0
 public virtual Task <TOut> ApplyAsync <TOut>(IEndQuery <TEntity, TOut> endQuery, CancellationToken cancellation = default) where TOut : class
 {
     return(endQuery.ApplyAsync(Entities, cancellation));
 }