Upgrade Entity Framework 4.0 to 6.0 not working

entity-framework-4 entity-framework-6

Question

MVC 2 to asp.net net MVC 4 with no issues.

I then attempted to upgrade entity framework 4.0 to entity framework 6 after that.

The outcome is poor. I've got over 15000 errors.


This mistake has repeatedly occurred for me.

The type or namespace name 'ComplexObject' could not be found

Another mistake

Error 14331 The type or namespace name 'EdmComplexTypeAttribute' could not be found (are you missing a using directive or an assembly reference?)


Error 5460 The type or namespace name 'EdmEntityTypeAttribute' could not be found (are you missing a using directive or an assembly reference?)

I'm not sure where to start. Any thoughts?

1
1
12/15/2013 1:52:52 AM

Popular Answer

Templates also need to be updated. The code that is created uses namespaces from EF4/5 while some types in EF6 have been relocated to different namespaces. Zzz-5-Zzz is available at VS Gallery. Check see this piece for information on upgrading your app from an earlier EF version to EF6.

1
12/18/2013 6:10:44 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow