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

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
PatrikAhlquist
Posts: 21
Joined: Thu 11 Feb 2010 08:40

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

Post by PatrikAhlquist » Wed 23 Apr 2014 08:22

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

Shalex
Site Admin
Posts: 8248
Joined: Thu 14 Aug 2008 12:44

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

Post by Shalex » Fri 25 Apr 2014 14:21

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.

Shalex
Site Admin
Posts: 8248
Joined: Thu 14 Aug 2008 12:44

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

Post by Shalex » Thu 10 Jul 2014 16:00

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).

Post Reply