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