Calling package with EF4

Calling package with EF4

Postby satishbodke » Mon 21 Nov 2011 05:11

Is there any way where I could configure Oracle Package in EDMX (EF4), the way we configure stored proc being functions part of ObjectContext?

I dont see list of Packages in the Wizard while adding/ configuring entities with EDMX design view.
satishbodke
 
Posts: 2
Joined: Mon 21 Nov 2011 05:03

Postby Shalex » Tue 22 Nov 2011 10:08

You can add stored procedures from your package to the model in the same way as you add stored procedures which are outside the packages: they are available in a common stored procedures node in Entity Data Model Wizard.

We recommend you using Devart Entity Developer which has a lot of advantages comparing to EDM Wizard/Designer. E.g.: Entity Developer has a separate node for the packages content in Database Explorer.

Take into account the following limitation of Entity Framework itself - it works only with primitive types.
You can use user defined types, arrays, etc only with plain ADO.NET.
Shalex
Devart Team
 
Posts: 7614
Joined: Thu 14 Aug 2008 12:44

Postby satishbodke » Thu 24 Nov 2011 05:01

Yea, that works for me, I used Entity Developer to generate method for given Package-procedure and that works for me!!

Thanks
satishbodke
 
Posts: 2
Joined: Mon 21 Nov 2011 05:03


Return to dotConnect for Oracle