上的NuGet有包:是否可以在項目中一起使用RIA Services和EntityFramework.Migrations?
EntityFramework.Migrations
EF 4.3.1
EF 4.1
RIA服務,它依賴於EF < 4.2。
EntityFramework.Migrations不起作用,因爲它現在包含在EF 4.3+
我使用的代碼第一次的做法,所以我需要DbDomainService <>類,它是不可用的,當RIA服務沒有安裝。
有沒有任何獨立的下載,以上述手動引用我的項目?
編輯:
我刪除RIA從包的NuGet,updgraded EF 4.3.1,然後手動引用從工具箱RIA的EntityFramework lib中的建議在這裏:Unfortuately現在我得到Can I use RIA Services with Entity Framework 4.3?
以下錯誤:
The following exception occurred creating the MEF composition container:
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
The default code generator will be used.