Hello,
I am currently using Devart(Code First Entity Framework).
Can some one explain me in detail how can i call User Defined functions(Oracle) using Code First entity Framework.
Calling user Defined oracle functions using Code First
Entity Framework Code First with fluent mapping doesn't support stored procedures: http://msdn.microsoft.com/en-us/library ... 03%29.aspx.
If fluent mapping is not important for you, and usage of DbContext and its opportunities for dynamic creating/removing database is the main point, then we recommend you to work with Entity Framework Code First using Entity Developer. You are using explicit mapping to the existing database structure, aren't you? In this case Entity Developer is a better choice comparing to manual creation of classes and mapping. Entity Developer allows to generate code for using existing database stored procedures and functions together with Entity Framework Code First in the mode when fluent mapping is not used: http://blog.devart.com/entity-developer ... plate.html.
If fluent mapping is not important for you, and usage of DbContext and its opportunities for dynamic creating/removing database is the main point, then we recommend you to work with Entity Framework Code First using Entity Developer. You are using explicit mapping to the existing database structure, aren't you? In this case Entity Developer is a better choice comparing to manual creation of classes and mapping. Entity Developer allows to generate code for using existing database stored procedures and functions together with Entity Framework Code First in the mode when fluent mapping is not used: http://blog.devart.com/entity-developer ... plate.html.
Re: Calling user Defined oracle functions using Code First
Post has a broken link and I think that document has what we need! This link is broken:
http://www.devart.com/blogs/dotconnect/ ... plate.html.
Can someone point me to a working link? Thanks!
http://www.devart.com/blogs/dotconnect/ ... plate.html.
Can someone point me to a working link? Thanks!
Re: Calling user Defined oracle functions using Code First
I have updated the link in my original post.
JIC: Entity Developer now supports Model-Defined Functions as well: http://blog.devart.com/model-defined-fu ... loper.html.
JIC: Entity Developer now supports Model-Defined Functions as well: http://blog.devart.com/model-defined-fu ... loper.html.