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.
Calling package with EF4
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.
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.
-
- Posts: 2
- Joined: Mon 21 Nov 2011 05:03