Skip to content

Known Issues

Patrick edited this page Nov 3, 2016 · 3 revisions

Issue Description

The IX_Section_ApplicationName_SectionName_Aspect_Discriminator Index does not allow nullable Discriminator field when generated via the EntityFramework ConfigurationContext EnsureCreated() method. Unfortunately this is a known bug with EntityFramework. To track this issue please refer to bug 6794. Related issue is bug 6919

Workaround

Option 1

Generate the Configuration database using the a sql script.

Option 2

The absence of this constraint may not be an issue. If you're not using the Discriminator feature or can ensure the (ApplicationName, SectionName, Aspect and Discriminator) is always unique than no action is required.