We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ff40d8 commit 021e3c9Copy full SHA for 021e3c9
CS/AspNetCoreCustomItem/Startup.cs
@@ -68,7 +68,7 @@ public void ConfigureServices(IServiceCollection services) {
68
}
69
70
private void Configurator_ConfigureDataConnection(object sender, ConfigureDataConnectionWebEventArgs e) {
71
- if (e.DataSourceName == "Departments") {
+ if (e.ConnectionName == "localhost_Connection") {
72
e.ConnectionParameters = new XmlFileConnectionParameters() { FileName = FileProvider.GetFileInfo("Data/Departments.xml").PhysicalPath };
73
74
if (e.ConnectionName == "energyStatisticsDataConnection") {
0 commit comments