修复文件中的注释错误部分
This commit is contained in:
parent
3a5e67c57a
commit
29de264787
|
@ -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)
|
||||
|
|
|
@ -102,12 +102,6 @@ namespace ShardingCore.Sharding.ShardingDbContextExecutors
|
|||
}
|
||||
try
|
||||
{
|
||||
|
||||
if (_dbContextOptions != null)
|
||||
{
|
||||
return _dbContextOptions;
|
||||
}
|
||||
|
||||
var dbContextOptionsBuilder = CreateDbContextOptionBuilder();
|
||||
|
||||
if (IsDefault)
|
||||
|
|
Loading…
Reference in New Issue