Code optimization

This commit is contained in:
sunkaixuan 2017-06-23 10:47:25 +08:00
parent bac591052b
commit b9c2271007
4 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ namespace SqlSugar
{
public class InstanceFactory
{
static Assembly assembly = CoreMethod.LoadAssembly(PubConst.AssemblyName);
static Assembly assembly = ReflectionExtensions.LoadAssembly(PubConst.AssemblyName);
static Dictionary<string, Type> typeCache = new Dictionary<string, Type>();
#region Queryable

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace SqlSugar
{
public class CoreMethod
public class ReflectionExtensions
{
public static Assembly LoadAssembly(string name)
{