Skip to Main Content

Oracle Developer Tools for Visual Studio

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Entity Framework 6.1.3 Database First - Entities Not Generated/Errors

user6256755Apr 23 2015 — edited Jun 11 2015

Visual Studio 2013 Community Edition
Oracle Developer Tools for Visual Studio 12.1.0.2.0
EntityFramework.6.1.3
Oracle.ManagedDataAccess.12.1.021
Oracle.ManagedDataAccess.EntityFramework.12.1.021

I am attempting to create an Entity Framework 6.1.3 Entity Data Model using Database First.
I can start adding an .edmx to the project, successfully connect to the Oracle database, and can see/select the tables/stored procedures.

An empty Entity Data Model Designer diagram is created upon completion, no entities are generated.

In Model Browser, the <Schema>.Store is created with all selected tables/stored procedures.
The EntityContainer has been renamed from <Schema>MyContainerName to <Schema>Container; this does not match the entity container/connection string name I gave it

An error appears in the Errors Window:
Error 2002: The EntityContainer '<Schema>TargetContainer' for the storage model specified as part of this MSL does not exist in MetadataWorkspace.
blahblah\pathToEDMX\<Schema>.edmx 13529

At <Schema>.edmx, line 13529(//edmx:Edmx/edmx:Runtime/edmx:Mappings/Mapping/EntityContainerMapping):
<EntityContainerMapping CdmEntityContainer="<Schema>Container" StorageEntityContainer="<Schema>TargetContainer"></EntityContainerMapping>
The StorageEntityContainer attribute does not match <EntityContainer Name="<Schema>StoreContainer">, located at //edmx:Edmx/edmx:Runtime/edmx:StorageModels/Schema/EntityContainer.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 9 2015
Added on Apr 23 2015
2 comments
4,611 views