发布x.3.1.04

This commit is contained in:
xuejiaming 2021-10-19 09:18:29 +08:00
parent ad4b97040d
commit 6ca52a5d05
2 changed files with 3 additions and 5 deletions

View File

@ -1,8 +1,8 @@
:start :start
::定义版本 ::定义版本
set EFCORE2=2.3.1.03 set EFCORE2=2.3.1.04
set EFCORE3=3.3.1.03 set EFCORE3=3.3.1.04
set EFCORE5=5.3.1.03 set EFCORE5=5.3.1.04
::删除所有bin与obj下的文件 ::删除所有bin与obj下的文件
@echo off @echo off

View File

@ -67,13 +67,11 @@ namespace ShardingCore.EFCores
public IAsyncEnumerable<TResult> ExecuteAsync<TResult>(Expression query) public IAsyncEnumerable<TResult> ExecuteAsync<TResult>(Expression query)
{ {
return _shardingQueryExecutor.ExecuteAsync<IAsyncEnumerable<TResult>>(_currentContext, query); return _shardingQueryExecutor.ExecuteAsync<IAsyncEnumerable<TResult>>(_currentContext, query);
} }
public Task<TResult> ExecuteAsync<TResult>(Expression query, CancellationToken cancellationToken) public Task<TResult> ExecuteAsync<TResult>(Expression query, CancellationToken cancellationToken)
{ {
return _shardingQueryExecutor.ExecuteAsync<Task<TResult>>(_currentContext, query, cancellationToken); return _shardingQueryExecutor.ExecuteAsync<Task<TResult>>(_currentContext, query, cancellationToken);
} }
public Func<QueryContext, TResult> CreateCompiledQuery<TResult>(Expression query) public Func<QueryContext, TResult> CreateCompiledQuery<TResult>(Expression query)