Beispiel #1
0
 private Task ExecuteAsync(QueryableExecutionModel model, CancellationToken cancellationToken)
 {
     return(model.ExecuteAsync(_collection, _options, cancellationToken));
 }
Beispiel #2
0
 private object Execute(QueryableExecutionModel model)
 {
     return(model.Execute(_collection, _options));
 }
 public QueryableTranslation(QueryableExecutionModel model, IResultTransformer resultTransformer)
 {
     _model             = Ensure.IsNotNull(model, nameof(model));
     _resultTransformer = resultTransformer;
 }
Beispiel #4
0
 internal object ExecuteModel(QueryableExecutionModel model)
 {
     return(model.Execute(_collection, _options));
 }
 internal Task ExecuteModelAsync(QueryableExecutionModel model, CancellationToken cancellationToken)
 {
     return(model.ExecuteAsync(_collection, _session, _options, cancellationToken));
 }