private void RegisterSharedDb(ITempDB db) { var sharedDbName = GetSharedDbNameForThisFixture(); if (sharedDbName == null) { return; } SharedDatabaseLocator.Register(sharedDbName, db); }
private ITempDB FindSharedTempDb() { var sharedDbName = GetSharedDbNameForThisFixture(); if (sharedDbName == null) { return(null); } ValidateCanShareTempDb(); return(SharedDatabaseLocator.Find(sharedDbName)); }