mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
Update core
This commit is contained in:
@@ -484,7 +484,18 @@ namespace SqlSugar
|
||||
{
|
||||
lock (typeCache)
|
||||
{
|
||||
type = assembly.GetType(className);
|
||||
if (string.IsNullOrEmpty(CustomDllName))
|
||||
{
|
||||
type = assembly.GetType(className);
|
||||
}
|
||||
else
|
||||
{
|
||||
type= GetCustomTypeByClass(className);
|
||||
if (type == null)
|
||||
{
|
||||
type = assembly.GetType(className);
|
||||
}
|
||||
}
|
||||
Check.ArgumentNullException(type, string.Format(ErrorMessage.ObjNotExist, className));
|
||||
if (!typeCache.ContainsKey(className))
|
||||
{
|
||||
|
Reference in New Issue
Block a user