public SqlConfigManagerBase(ISqlConfigExecutorCreator sqlConfigExecutorCreator, IEFQueryCache efcache, ISqlParamConverter sqlParamConverter, ISqlPolicyManager policyExecutorMgr, IObjectReflector objReflec, IEFCoreExtendUtility util) { sqlConfigExecutorCreator.CheckNull(nameof(sqlConfigExecutorCreator)); efcache.CheckNull(nameof(efcache)); sqlParamConverter.CheckNull(nameof(sqlParamConverter)); policyExecutorMgr.CheckNull(nameof(policyExecutorMgr)); objReflec.CheckNull(nameof(objReflec)); util.CheckNull(nameof(util)); _sqlParamConverter = sqlParamConverter; _efcache = efcache; _sqlConfigExecutorCreator = sqlConfigExecutorCreator; _policyMgr = policyExecutorMgr; _objReflec = objReflec; _util = util; _config = new SqlConfig(OnModified); _init = new InitAction(DoInit); //添加默认的策略 AddDefaultPolicies(); }
public SqlConfigManager(ISqlConfigExecutorCreator sqlConfigExecutorCreator, IEFQueryCache efcache, ISqlParamConverter sqlParamConverter, ISqlPolicyManager policyExecutorMgr, IObjectReflector objReflec, IEFCoreExtendUtility util) : base(sqlConfigExecutorCreator, efcache, sqlParamConverter, policyExecutorMgr, objReflec, util) { }