public async Task ConfigurationStoreSetIndividualAsync_Test() { var optionsBuilder = new DbContextOptionsBuilder <DatabaseContext>(); optionsBuilder.UseSqlite($"Data Source={Path.GetTempFileName()}"); var store = new ConfigurationCollectionStore(optionsBuilder); var configCollection = await store.CreateConfigurationAsync <ExampleConfigurationCollection>("Test"); var resGuid = Guid.NewGuid(); configCollection.Configuration.ExampleConfiguration.ISOPath0 = "TestEqual"; configCollection.Configuration.ExampleConfiguration.FullscreenResolution = FullscreenResolution.Resolution1152X648; configCollection.Configuration.ExampleConfiguration.Fullscreen = false; configCollection.Configuration.ExampleConfiguration.SomeResource = resGuid; await store.UpdateConfigurationAsync(configCollection); configCollection.Configuration.ExampleConfiguration.FullscreenResolution = FullscreenResolution.Resolution1280X768; await store.UpdateValueAsync(configCollection.Configuration.ExampleConfiguration.Values["FullscreenResolution"]); var retrievedConfig = await store.GetConfigurationAsync <ExampleConfigurationCollection>(configCollection.ValueCollection.Guid); Assert.NotNull(retrievedConfig); Assert.Equal(configCollection.Configuration.ExampleConfiguration.ISOPath0, retrievedConfig.Configuration.ExampleConfiguration.ISOPath0); Assert.Equal(configCollection.Configuration.ExampleConfiguration.FullscreenResolution, retrievedConfig.Configuration.ExampleConfiguration.FullscreenResolution); Assert.Equal(configCollection.Configuration.ExampleConfiguration.Fullscreen, retrievedConfig.Configuration.ExampleConfiguration.Fullscreen); Assert.Equal(resGuid, configCollection.Configuration.ExampleConfiguration.SomeResource); }