Hello,
I have a simple solution with 4 projects (Design / BOM / Persistence / WPF)
I successfully generated the BOM & Persistence using the VS integrated modeler.
When, on the UI, I want to get data from the BOM (XxxCollection.LoadAll()), the application stop responding for several seconds and I have a VS error message :
Quote:An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll
Additional information: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
It looks like my SQL Server instance isn't found, but I specified it in the designer (so it is in the BOM). Do I need to precise the ConnectionString in the UI (WPF project) ? If yes, where ?
Regards,
Sébastien