Where do I put the connection string for my EntityFramework? RRS feed

  • Question

  • Hi;

    I've got EntityFrameworks working fine on my dev system. But now I have 2 questions:

    1. How can I change the server it connects to (we all use Sql Server running on our own desktop - all with the same DB)?

    2. Where do I set it in the config file? I assume it's a connection string, but what is the name for it?

    3. And for cases where I can't put a connection string in the config file (I have to access it from both a MMC and an Exchange transport agent - no {app}.exe.config file access for those), how do I set it?

    thanks - dave

    Who will win The Windward International Collegiate Programming Championships?

    Sunday, October 13, 2013 6:05 PM


All replies