Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <connectionStrings>
- <add name="MyContext" providerName="MySql.Data.MySqlClient"
- connectionString="server=localhost;port=3306;database=mycontext;uid=root;password=********"/>
- </connectionStrings>
- <entityFramework>
- <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"/>
- <providers>
- <provider invariantName="MySql.Data.MySqlClient"
- type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6"/>
- <provider invariantName="System.Data.SqlClient"
- type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
- </providers>
- </entityFramework>
- <add name="MyContext" connectionString="metadata=res://*/Integration.Models.MyContext.csdl|res://*/Integration.Models.MyContext.ssdl|res://*/Integration.Models.MyContext.msl;provider=System.Data.SqlClient;provider connection string="data source=(local);initial catalog=db_SQL;user id=sa;password=********;multipleactiveresultsets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement