ODP 12 c version 3 with EF 6.1.1 I can't add Stored Procedure of a package to my model

I use the ODP 12 c Release 3 (12.1.0.2.1), with Entity Framework 6.1.1 with the first database in MS Visual Studio 2013 update 4

I have a MVC 5 (.Net Framework 4.5.2) project that connects to Oracle 11 G R2 Database server, an existing database (Tables, views and a pack of Stored procedures)

I can add tables and use them successfully in my model
I can add a simple stored procedure

Here's the problem:
I have my .edmx file right click and click on "update model from database...". «, on the 'Add' tab, I chose «Stored procedures and functions»
I can see the list of procedures stored in the package (format packageName.usp) and check the box for the stored procedure of my package, then click 'Finish' to start the update process.

No stored procedures have been added to my Model.Store


The only possible exit I get the 'entity data model' is:
Generated template file: Model1.edmx.
Loading metadata from the database took 00:00:00.5803351.
The model generation took 00:00:00.3761861.

How to add a stored procedure from a package with the Entity Framework 6.1.1?

I found the answer.

When in the edmx model and you right click "Update Model database.

Uncheck "Import selected stored procedures and functions in the entity model", select the package and update procedures. (It works)

Then in "Model Explorer" under "Model. Store\ stored procedures/functions" you will see your procedures in the package (finally). Then their card in "Function Imports".

I don't understand why unchecking import stored procedures works, but it does.

I also found easier to simply call the procedure directly and not using Entity Framework, as all my procedures are: insertion, update and deletions and not all parameters mapped on the model for the view.

Tags: Database

Similar Questions

Maybe you are looking for

  • How to activate the touch screen in my laptop?

    Hi everybodies... I have HP pavilion dv6-3020ed with all the drivers installed correctly... I try to activate the touch screen in win 7 64 bit - using the hp manual, but I found no proprietie tablet pc in my control panel? and TabTip.exe in C:\Progra

  • Read file vi spreadsheet rounds the number and shows figures for accuracy

    Hi guys,. I use a 'read the worksheet file vi fom' in a program to read a table, but it runs all the numbers in the table only with their significant digits. I need at least 6 digits for accuracy, but I really wasn't able to find the solution to. How

  • wireless driver for Windows 7 64 bit

    Hi resenlty I have down rated my laptop Windows 8 for windows 7 64-bit unlitmate and I went to download the drivers for the laptop and found out that asus don't dose not make drivers for windows 7 the lot get Qualcomm Atheros Wireless Lan Driver and

  • ACS 5.1 - Ganymede + issue witch 'network access' access services

    Hello world can someone explain why Ganymede + cannot be used with the network access services? I know that Ganymede is mainly intended command authorization, but as I remember with ACS 4.2 it is possible. For example for the purpose of PPP. THX and

  • versão tests

    I bought first cc o, na altura para o meu pc windows trabalhava perfectly. Agora instalei mac um I bought a creative cloud, instalei o first e agora esta a say that e versão of tests. Como resolvo o problema? JA desentalei e voltei an instalar tudo n