Optimized code

This commit is contained in:
SUNKAIXUAN
2021-03-27 12:20:27 +08:00
parent 359757a076
commit 14820498f4

View File

@@ -9,7 +9,7 @@ namespace SqlSugar
public class InstanceFactory public class InstanceFactory
{ {
static Assembly assembly = Assembly.Load(UtilConstants.AssemblyName); static Assembly assembly = Assembly.GetExecutingAssembly();
static Dictionary<string, Type> typeCache = new Dictionary<string, Type>(); static Dictionary<string, Type> typeCache = new Dictionary<string, Type>();
public static bool NoCache = false; public static bool NoCache = false;