This project has moved and is read-only. For the latest updates, please go here.

Connection string in unit test project

Aug 14, 2013 at 3:05 AM
I am using Visual Studio 2012 and Entity framework 5.0. I'm trying to write a unit test in another project and using Effort.EntityConnectionFactory.CreateTransient("name=ConnectionString");

My question is what connection string value do I need in the app.config? I tried copying the connectionstring that I use for actual entity framework connection string but it didn't find the csdl file.
Aug 14, 2013 at 4:48 AM
I worked it out. Using dotPeek. it was pointing to the wrong place for the csdl file.