Browse Source

Optimized code

pull/1/MERGE
SUNKAIXUAN 4 years ago
parent
commit
14820498f4
  1. 2
      Src/Asp.Net/SqlSugar/Infrastructure/InstanceFactory.cs

2
Src/Asp.Net/SqlSugar/Infrastructure/InstanceFactory.cs

@ -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;

Loading…
Cancel
Save