mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-16 13:09:33 +08:00
Update InstanceFactory
This commit is contained in:
parent
bb6235ecdb
commit
88719e46a2
@ -668,6 +668,10 @@ namespace SqlSugar
|
|||||||
type = assembly.GetType(className);
|
type = assembly.GetType(className);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (type == null)
|
||||||
|
{
|
||||||
|
type = GetCustomDbType(className, type);
|
||||||
|
}
|
||||||
Check.ArgumentNullException(type, string.Format(ErrorMessage.ObjNotExist, className));
|
Check.ArgumentNullException(type, string.Format(ErrorMessage.ObjNotExist, className));
|
||||||
if (!typeCache.ContainsKey(className))
|
if (!typeCache.ContainsKey(className))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user