mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-20 09:28:53 +08:00
Synchronous code
This commit is contained in:
parent
6b4d165181
commit
b23e577567
@ -744,6 +744,10 @@ namespace SqlSugar
|
||||
var newAssembly = new ReflectionInoCacheService().GetOrCreate<Assembly>(key, () => {
|
||||
try
|
||||
{
|
||||
if (string.IsNullOrEmpty(customDllName)&& CustomAssemblies?.Any() == true)
|
||||
{
|
||||
customDllName = CustomAssemblies.First().GetName().Name;
|
||||
}
|
||||
if (CustomAssemblies?.Any(it => it.FullName.StartsWith(customDllName))==true)
|
||||
{
|
||||
return CustomAssemblies?.First(it => it.FullName.StartsWith(customDllName));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user