Code First Mapping to Insert/Update/Delete Stored Procedures
Posted: Wed 08 Oct 2014 11:49
Hello,
I am trying to use dotConnect for Oracle for Code First with existing Database (I am not planning to generate the DB layer from the code) My aim is to have pure c# classes mapped by fluent mapping to stored procedures for CUD operations. I already have fully working MSSQL solution and trying now to switch to dotConnect/ORACLE.
Here (http://forums.devart.com/viewtopic.php?t=28241) is information this should be possible, quote :
**************************
Now, with dotConnect for Oracle, you can use such new Entity Framework features as ... Code First Mapping to Insert/Update/Delete Stored Procedures ...
**************************
Well, this is usually done by calling the method MapToStoredProcedures in fluent mapping. But here I found it is not implemented?!! - http://forums.devart.com/viewtopic.php? ... res#p98859
So my question is : how do I map the stored procedures using CodeFirst if not with MapToStoredProcedures? Is there any documentation/example?
Thanks a lot!
Ales
I am trying to use dotConnect for Oracle for Code First with existing Database (I am not planning to generate the DB layer from the code) My aim is to have pure c# classes mapped by fluent mapping to stored procedures for CUD operations. I already have fully working MSSQL solution and trying now to switch to dotConnect/ORACLE.
Here (http://forums.devart.com/viewtopic.php?t=28241) is information this should be possible, quote :
**************************
Now, with dotConnect for Oracle, you can use such new Entity Framework features as ... Code First Mapping to Insert/Update/Delete Stored Procedures ...
**************************
Well, this is usually done by calling the method MapToStoredProcedures in fluent mapping. But here I found it is not implemented?!! - http://forums.devart.com/viewtopic.php? ... res#p98859
So my question is : how do I map the stored procedures using CodeFirst if not with MapToStoredProcedures? Is there any documentation/example?
Thanks a lot!
Ales