Update InstanceFactory

This commit is contained in:
sunkaixuan 2025-05-05 09:12:33 +08:00
parent bb6235ecdb
commit 88719e46a2

View File

@ -668,6 +668,10 @@ namespace SqlSugar
type = assembly.GetType(className);
}
}
if (type == null)
{
type = GetCustomDbType(className, type);
}
Check.ArgumentNullException(type, string.Format(ErrorMessage.ObjNotExist, className));
if (!typeCache.ContainsKey(className))
{