Page 1 of 1

Using Oracle Stored Procedure

Posted: Mon 29 Sep 2014 22:04
by otaviosoares
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

Re: Using Oracle Stored Procedure

Posted: Tue 30 Sep 2014 17:18
by Shalex
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.

Re: Using Oracle Stored Procedure

Posted: Wed 01 Oct 2014 14:07
by otaviosoares
Yes, that's the case.

Thank you for the reply.

Best