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 EntityFrameworkMetadata(IMetadataWorkspaceFileProvider metadataWorkspaceFileProvider, EfMappingViewCacheFactory efMappingViewCacheFactory) { _metadataWorkspaceFileProvider = metadataWorkspaceFileProvider; _efMappingViewCacheFactory = efMappingViewCacheFactory; _initializedMetadataWorkspace = new Lazy <MetadataWorkspace>(CreateAndInitializeMetadataWorkspace); }