public partial class PluczExp_PluczContext : DbContext > { > public PluczExp_PluczContext (): base("name=PluczExpEntities") {} > > public PluczExp_PluczContext (string ConnectionName): base("name="+ConnectionName) {} > }so instantiating the context with an empty constructor would use the "PluczExpEntities" connection name in app.config and instantiating with
PluczExp_PluczContext PGD = new PluczExp_PluczContext ("PluczExpEntities2");would use the connection named 'PluczExpEntities2'. In app.config just copy the default, rename and adjust.