示例#1
0
 private Task ExecuteAsync(QueryableExecutionModel model, CancellationToken cancellationToken)
 {
     return(model.ExecuteAsync(_collection, _options, cancellationToken));
 }
示例#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;
 }
示例#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));
 }