2014-01-13 2 views
2

Effort 및 Entity Framework 4.1 (코드 우선)으로 작업하고 있습니다. 나는 가짜 databadse를 작성하고 뭔가를 나는 오류를 얻고있다어셈블리 내의 중복 형식 이름

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" }); 
} 

추가 할 때 : System.ArgumentException : 어셈블리 내에서 중복 유형 이름을.

나는 깨끗한 솔루션은 재건과 디버깅은 데이터베이스에 대한 호출 후 중단 점을 넣을 때 발생 나를 내가 찾은

+0

http://stackoverflow.com/questions/7328364/system-argumentexception-duplicate-type-name-within-an-assembly의 중복은 답변 중 단 1 개입니다. – SilverSideDown

+0

[Entity Framework 중복 유형 이름 어셈블리 (6.1.0)] 가능한 중복 (http://stackoverflow.com/questions/23189266/entity-framework-duplicate-type-name-within-an-assembly-6- 1-0) –

답변