configuring EntityFramework C # and SQL Server [closed]

0

"the element 'entityFramework' has invalid child element 'providers'.     List of possible elementes expected: 'contexts'. "

    
asked by anonymous 02.01.2017 / 13:07

1 answer

1

In the project where your web config if set to main should contain this in your connections string providerName="System.Data.SqlClient"

example:

<connectionStrings>
 <add name="nomeconexao" connectionString="" providerName="System.Data.SqlClient" />
</connectionStrings>

If you have questions post your code

    
02.01.2017 / 13:11