I am working with Effort and Entity Framework 4.1(code first). When I create fake databadse and try to add something
DbConnection connection = Effort.DbConnectionFactory.CreateTransient();
using (var context = new LoveDatabaseContext(connection))
{
context.Banners.Add(new Banners() { Enabled = true, Name = "Test", Priority = 1, Url = "http:\\test.com" });
}
I am getting error: System.ArgumentException: Duplicate type name within an assembly.
I clean solution rebuilt and it not worked for me