I am developing plug-in for a Windows Forms application. I am trying to use Entity Framework instead of a plain SqlConnection, but it does not work. The application throws the well-known exception:
No connection string named 'testEntities' could be found in the application config file.
Of course I could add the connection string:
<connectionStrings>
<add name="testEntities" connectionString="metadata=res://..." />
</connectionStrings>
But I do not have access to the configuration of the application that's running my plugin.
Is there way to use local config in Entity Framework?