Using Oracle Stored Procedure

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
otaviosoares
Posts: 7
Joined: Fri 22 Aug 2014 19:07

Using Oracle Stored Procedure

Post by otaviosoares » Mon 29 Sep 2014 22:04

Hello,

I'm trying to map a stored procedure using Entity Developer.

I've added the Stored Procedure to the StorageModel and created the Method in the Context Model.

However, I don't know how to use it. I've seen some examples and it seems that it should be accessible by the context. But I've checked my DbContext and it's not there.

Am I missing something?

Any help would be really appreciated.

Thank you

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Using Oracle Stored Procedure

Post by Shalex » Tue 30 Sep 2014 17:18

otaviosoares wrote:I've added the Stored Procedure to the StorageModel and created the Method in the Context Model.

However, I don't know how to use it. I've seen some examples and it seems that it should be accessible by the context. But I've checked my DbContext and it's not there.
Fluent mapping doesn't support usage of stored procedures: http://blog.devart.com/entity-developer ... plate.html.

If this is not the case, please make sure that you saved the model (to regenerate the code) after adding a new method in CSDL.

otaviosoares
Posts: 7
Joined: Fri 22 Aug 2014 19:07

Re: Using Oracle Stored Procedure

Post by otaviosoares » Wed 01 Oct 2014 14:07

Yes, that's the case.

Thank you for the reply.

Best

Post Reply