/// <summary>
        /// 添加缓存
        /// </summary>
        /// <param name="services"></param>
        private void AddExtandProvider(IServiceCollection services)
        {
            // mapper bridge实现类
            services.AddSingleton<MapperBridgeAbstract, RG3.BO.BI.Bridge.Providers.MapperBridgeAbstractProvider>();
            // mapper provider 文件变更通知
            services.AddSingleton<MapperBridgeChangeAbstract, MapperBridgeChangeAbstractProvider>();
            // 数据新增、修改、删除后执行的方法
            services.AddSingleton<OperateSaveAbstract, OperateSaveAbstractProvider>();

        }
文档更新时间: 2022-02-24 15:09   作者:admin