修复文件中的注释错误部分

This commit is contained in:
xuejiaming 2022-04-11 08:44:05 +08:00
parent 3a5e67c57a
commit 29de264787
2 changed files with 1 additions and 7 deletions

View File

@ -118,7 +118,7 @@ namespace ShardingCore.Extensions
/// <summary>
/// 切换数据源,保留原始数据源中的Expression
/// </summary>
/// <param name="source">数据源</param>
/// <param name="source">数据源</param>
/// <param name="dbContext">新数据源</param>
/// <returns></returns>
internal static IQueryable ReplaceDbContextQueryable(this IQueryable source, DbContext dbContext)

View File

@ -102,12 +102,6 @@ namespace ShardingCore.Sharding.ShardingDbContextExecutors
}
try
{
if (_dbContextOptions != null)
{
return _dbContextOptions;
}
var dbContextOptionsBuilder = CreateDbContextOptionBuilder();
if (IsDefault)