I try to migrate form EF 3.5 to 6 (with SQLite as database). We can not set the connection string in the app config file (this works without problems with ef6). We have to s
Normally the connection string in config would look like this
change the above to following.(remove " ; to "") and mention it directly in entity context connection string with your own database location.
public partial class MuthootClientEntities : DbContext
{
public MuthootClientEntities()
: base(@"metadata=res://*/LocalData.MuthootClientContext.csdl|res://*/LocalData.MuthootClientContext.ssdl|res://*/LocalData.MuthootClientContext.msl;provider=System.Data.SQLite;provider connection string=""data source=" + System.Environment.CurrentDirectory + @"\LocalData\FD1CBA65-1B68-449F-8E6D-A652137466D4.db""")
{
var test = System.Environment.CurrentDirectory;
}