Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to use DbConnection in DbContext

user4524874Aug 29 2019 — edited Aug 30 2019

I'm working in ASP.NET 4.5 project using Entity Framework 6 Database First approach.

I need to use a OracleConnection into DbContext because I can't use a connection string to establish the communication with the DBMS.

I know DbContext class has a constructor accepting an instance of DbConnection but I having some problems with it.

Do you know where I can get more information about this issue?

Thanks.

Comments
Post Details
Added on Aug 29 2019
3 comments
1,581 views