public LuaSqlL2QueryCachePolicyExecutor(IEFQueryCache cache, IEFCoreExtendUtility util) { cache.CheckNull(nameof(cache)); util.CheckNull(nameof(util)); _cache = cache; _util = util; }
public SqlParamObjForeachPolicyExecutorBase(ISqlParamConverter sqlParamCvt, IObjectReflector objReflec, IEFCoreExtendUtility util) { sqlParamCvt.CheckNull(nameof(sqlParamCvt)); objReflec.CheckNull(nameof(objReflec)); util.CheckNull(nameof(util)); _sqlParamCvt = sqlParamCvt; _objReflec = objReflec; _util = util; }
public SqlConfigExecutorCreator(ISqlExecutor sqlExecutor, ISqlParamConverter sqlParamCvt, IEFCoreExtendUtility util) { sqlExecutor.CheckNull(nameof(sqlExecutor)); sqlParamCvt.CheckNull(nameof(sqlParamCvt)); util.CheckNull(nameof(util)); _sqlExecutor = sqlExecutor; _sqlParamCvt = sqlParamCvt; _util = util; }
public LuaSqlConfigManagerBase( ISqlExecutor sqlExecutor, ISqlParamConverter sqlParamConverter, ILuaSqlPolicyManager policyExecutorMgr, IEFCoreExtendUtility util, ILuaSqlConfig config) { sqlExecutor.CheckNull(nameof(sqlExecutor)); sqlParamConverter.CheckNull(nameof(sqlParamConverter)); policyExecutorMgr.CheckNull(nameof(policyExecutorMgr)); util.CheckNull(nameof(util)); config.CheckNull(nameof(config)); _sqlParamConverter = sqlParamConverter; _policyMgr = policyExecutorMgr; _util = util; _sqlExecutor = sqlExecutor; _config = config; _config.OnModified += OnModified; _init = new InitAction(DoInit); }
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 SqlL1QueryCachePolicyExecutor(IEFCoreExtendUtility util) { util.CheckNull(nameof(util)); _util = util; }