<?xml version= "1.0" encoding= "Utf-8"?><configuration> <configsections> <section name= "EntityFramework" type= " system.data.entity.internal.configfile.entityframeworksection, entityframework, version=6.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089 " requirepermission=" false " /> <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/? linkid=237468 --> </configsections> <startup> <supportedruntime version= "v4.0" sku= ". netframework,version=v4.5.1 " /> </startup> <system.data> <dbproviderfactories> <remove invariant= " MySql.Data.MySqlClient " /> &nbsP; <add name= "Mysql data provider" invariant= "MySql.Data.MySqlClient" Description= ". Net framework data provider for mysql" type= " mysql.data.mysqlclient.mysqlclientfactory, mysql.data, version=6.9.3.0, culture=neutral, Publickeytoken=c5687fc88969c44d " /> </DbProviderFactories> </system.data> <entityframework codeconfigurationtype= " Mysql.data.entity.mysqlefconfiguration, mysql.data.entity.ef6 "> < Defaultconnectionfactory type= "system.data.entity.infrastructure.localdbconnectionfactory, EntityFramework "> <parameters> <parameter value= "v11.0" /> </parameters> </defaultconnectionfactory> <provideRs> <provider invariantname= "MySql.Data.MySqlClient" type= " Mysql.data.mysqlclient.mysqlproviderservices, mysql.data.entity.ef6, version=6.9.3.0, culture= Neutral, publickeytoken=c5687fc88969c44d "></provider> < Provider invariantname= "System.Data.SqlClient" type= " System.data.entity.sqlserver.sqlproviderservices, entityframework.sqlserver " /> </providers> </entityFramework> <connectionStrings> <add name= "www" connectionstring= "data source=localhost;initial catalog= nima;user id=root;password=123456; " providername= "MySql.Data.MySqlClient" /> </connectionstrings></configuration >
The Entity Framework uses the MySQL configuration file