문제

When we try to run "EntityFramework_CodeFirst" and "EntityFramework_CodeFirst2" samples, we get the following error:

Unable to determine the provider name for connection of type 'U2.Data.Client.U2Connection'

도움이 되었습니까?

해결책

I would like to answer this question myself. You need correct version of Entity Framework 4.1. If you are using older version (assembly file version 4.1.10331.0), you will see this issue. You need to install Entity Framework 4.1 Update 1 (assembly file version 4.1.10715.0) See this link : http://www.ladislavmrnka.com/2011/08/problems-with-entity-framework-4-1-update-1/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top