mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Synchronization code
This commit is contained in:
parent
6f09b884c1
commit
5497cd34f3
@ -618,7 +618,7 @@ namespace SqlSugar
|
||||
internal static Type GetCustomTypeByClass(string className)
|
||||
{
|
||||
Type type = null;
|
||||
foreach (var item in CustomDlls.AsEnumerable())
|
||||
foreach (var item in CustomDlls.ToArray())
|
||||
{
|
||||
if (type == null)
|
||||
{
|
||||
@ -673,7 +673,7 @@ namespace SqlSugar
|
||||
internal static Type GetCustomTypeByClass<T>(string className)
|
||||
{
|
||||
Type type = null;
|
||||
foreach (var item in CustomDlls.AsEnumerable())
|
||||
foreach (var item in CustomDlls.ToArray())
|
||||
{
|
||||
if (type == null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user