need VS 2013 web.config sample connection entry to oracle using DbContext RRS feed

  • Question

  • User1868852945 posted

    I have a web app using DbContext with the connection string in web.config that connects to SQL Server successfully and the web app works great.  I have built the database in oracle with the exact same schema tables, views, etc.  I use MVC Model classes that will fit the oracle result sets.  I do not use EF.

    Now I want to change the connection entry in web.config from SQL Server to oracle.  I do have ADO.NET installed and working with my oracle schema for VS 2013.

    Does anyone have a sample connection entry for wegb.config DbContext I could use for this?  Ultimately my app will be flipping the same DbContext between SQL Server and oracle according to back-end requirements.


    Monday, June 12, 2017 11:10 PM