I am using EF connection string in my project,and it doesnt work. i will post my code and can anyone tell me how to rebuild debug.appconfig and relase.appconfig bcuz i have an error to
Name:  xee22222.png
Views: 438
Size:  1.9 KB

Here is my connection string code :

Code:
    <add name="dentnedEntities" connectionString="data source=DESKTOP-Q8526KR\SQLEXPRESS;Integrated Security=SSPI;
                       database=dentned;
                       AttachDBFilename=|DataDirectory|dentned.mdf;
                       User Instance=true"
     providerName="System.Data.SqlClient" />
I have create another one and it doesnt work here is the 2nd code :

Code:
<add name="dentnedEntities" connectionString="metadata=res://*/Entity.Model_dentned.csdl|res://*/Entity.Model_dentned.ssdl|res://*/Entity.Model_dentned.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=DESKTOP-Q8526KR\SQLEXPRESS;initial catalog=dentned;Integrated Security=true; MultipleActiveResultSets=True;App=EntityFramework&quot;" />