"EntityConnectionStringBuilder"
using (var context = new MyDbContext("connectionStringName")) { .... }
<connectionstrings> <add name="BlogContext"> providerName="System.Data.SqlClient" connectionString="Server=.\SQLEXPRESS;Database=Blogging;Integrated Security=True;"/> <!-- here add another connection string --> </add></connectionstrings>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)