How to make connection strings available in a T4 template?
问题 I've written a T4 template where I instantiate an EF context to read some data. The problem is that the context cannot see the connection string from the Web.config. How can I make the connection strings from the Web.config available to the template? More info: template is written from scratch EF edmx is located in another project the first query I make in the template tells me that it cannot find the required connection string in the project where the template resides Tried some of the