I have 2 projects: Console Application and Class Library (dll)
My main project, the console app, references my dll.
In my dll I created an EF (Entity Framework) ADO model.
The EF connection string must be in the dll project .config
file.
The problem is when I initialize a DbContext
it is looking for the connection string in the Console Application .config
file.
How can I tell the DbContext
to look for the connection string in the dll .config
file ?
Thanks