public EfMappingViewsInitializer(EfMappingViewsFileStore efMappingViewsFileStore, IMetadataWorkspaceFileProvider metadataWorkspaceFileProvider, ILogProvider logProvider, IEfMappingViewsHash efMappingViewsHash) { _efMappingViewsFileStore = efMappingViewsFileStore; _logger = logProvider.GetLogger(nameof(EfMappingViewsInitializer)); _performanceLogger = logProvider.GetLogger("Performance." + nameof(EfMappingViewsInitializer)); _metadataWorkspaceFileProvider = metadataWorkspaceFileProvider; _efMappingViewsHash = efMappingViewsHash; }
public EfMappingViewCacheFactory(EfMappingViewsFileStore mappingViewsFileStore, ILogProvider logProvider) { _mappingViewsFileStore = mappingViewsFileStore; _logger = logProvider.GetLogger(nameof(EfMappingViewCacheFactory)); _viewCache = new Lazy <EfMappingViewCache>(CreateEfMappingViewCache); }