Tag: EF

EF and Oracle DB Connection problem: ORA-12504

SO I figured I’ll post a quick solution to this problem that had been troubling me today.

I have a .Net application connecting to an Oracle Database. I have installed the ODP.Net data connection libraries. I created the Oracle connection successfully within Entity Framework, and used LINQ to retrieve the data. All is well… until this solution is deployed this onto a server…

ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA

(continue reading…)

Comments Off on EF and Oracle DB Connection problem: ORA-12504 more...

Splitting Entity Framework Model classes into separate projects

SO you have decided to use an ADO.Net Entity Data model in your solution. But Visual Studio automatically creates all the Data Model classes under your Entity Data Model file structure. You want to separate your Data Model classes into another project, so that you can add references to the Data Model classes without exposing your Data Model Contexts and connections. In this article, I will show how you can achieve this in a few basic steps..

(continue reading…)

Copyright © Nullable Code. All rights reserved.