-
Notifications
You must be signed in to change notification settings - Fork 13
Release Notes
Patrick edited this page Oct 29, 2016
·
20 revisions
Addition of the 'Aspect' field to the Section table. With the Aspect field, cross-cutting configuration data can be more effectively categorised.
If you are upgrading from an earlier version of configuration.entityframework, you will need to perform the following 2 steps
-
Set the 'Aspect' field to 'settings' for any existing or new record created in the Section Table. Alternatively, pass null into the 'aspect' argument for the AddEntityFrameworkConfig extension method as in the following sample code.
var config = new ConfigurationBuilder()
.SetBasePath(Environment.CurrentDirectory)
.AddJsonFile("appsettings.json", true, true)
.AddEntityFrameworkConfig(builder => builder.UseSqlServer(@"Data Source=.;Initial Catalog=Configuration;Integrated Security=True"), "applicationname', null)
.Build();