I am trying to create a wpf application using entities. I created the model
the app.config looks like this
< xml version="1.0" encoding="utf-8" >
<configuration>
<connectionStrings>
<add name="NorthwindEntities" connectionString="metadata=.\Model1.csdl|.\Model1.ssdl|.\Model1.msl;provider=System.Data.SqlClient;provider connection string="Data Source=.;Initial Catalog=Northwind;Integrated Security=True"" providerName="System.Data.EntityClient" />
</connectionStrings>
</configuration>
NorthwindEntities northwind = new NorthwindEntities();
foreach (Customers c in northwind.Customers)
{
Debug.WriteLine(c.CustomerID);
}
I get the error input path does not exist, what could be wrong
Thanks