Calling package with EF4

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
satishbodke
Posts: 2
Joined: Mon 21 Nov 2011 05:03

Calling package with EF4

Post by 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.

Shalex
Devart Team
Posts: 8083
Joined: Thu 14 Aug 2008 12:44

Post by 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.

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

Post by 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

Post Reply