Page 1 of 1

View generation with Oracle, EF 6.1, VS 2010, .NET FW4.0, ObjectContext

Posted: Wed 23 Apr 2014 08:22
by PatrikAhlquist
Isn't View Generation supported with EF6.1 and .NET Framework 4.0?

I get

Code: Select all

warning 6038: The default target Entity Framework version requires the edmx schema version 2.0.0.0 or lower. The specified schema is version 3.0.0.0. To avoid this warning specify the target Entity Framework version explicitly. You can do this by using the EdmGen.exe command-line tool with the targetVersion option, or by including the targetEntityFrameworkVersion parameter when calling the GenerateCode method.
and

Code: Select all

The type or namespace name 'Mapping' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
Regards,
Patrik

Re: View generation with Oracle, EF 6.1, VS 2010, .NET FW4.0, ObjectContext

Posted: Fri 25 Apr 2014 14:21
by Shalex
The View Generation option of EntityContextModel in Entity Developer doesn't work for Entity Framework 6. We are working on its support. We will notify you when it is implemented.

Re: View generation with Oracle, EF 6.1, VS 2010, .NET FW4.0, ObjectContext

Posted: Thu 10 Jul 2014 16:00
by Shalex
The View Generation option of the model with Entity Framework version = Entity Framework 6 is supported for the DbContext (only with XML mapping), EntityObject, POCO, and Self-Tracking Entities templates.

This functionality is available in the new (8.4.201) build of dotConnect for Oracle: http://forums.devart.com/viewtopic.php?f=1&t=29949. It can be downloaded from http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with active subscription only).