Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8868447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T17:16:25+00:00 2026-06-14T17:16:25+00:00

I am porting an application’s persistent storage mechanics from SQL Compact to Oracle. Current

  • 0

I am porting an application’s persistent storage mechanics from SQL Compact to Oracle.

Current Implementation

The application implements Entity Framework 5 (EF), but it is pretty tightly coupled: (a) there is no service layer between EF and the Controllers, and (b) there is no IRepository-style abstraction between EF and SQL Compact.

The C# models are simple POCOs but are rich with data annotations, and is used “code-first” style to generate DB schema.

Problem (Oracle)

I must use Oracle’s standard ODP.Net provider. The provider supports EF, but does not support “code-first” methodology, only “model first”.

Intended Solution

I am trying to find a way to preserve the EF implementation tightly coupled to the controllers, and the richness of the model class annotations, while using them to build the “model-first” style EDMX file that Oracle can swallow. Essentially, I am looking for a way to mimic “code-first”.

I was hoping it would be as simple as dragging my C# objects onto the EDMX file but it seems like there’s much more going on.

Question

How can I build an .EDMX file using C# models that already exist? If it is not possible, what is the next best solution for accomplishing this goal?

Note: Please do not recommend paid-for third party products. The solution must be doable with Visual Studio, C#, an open source library, or some combination.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T17:16:26+00:00Added an answer on June 14, 2026 at 5:16 pm

    If you have DbContext you can use ‘EdmxWriter.WriteEdmx()’ to write your model as the edmx file that you should be able to open with the designer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While porting an application from SQL 2005 to SQL Server Compact Edition, I found
Porting an application from C# (1.1 framework) to VB.NET (3.5 framework), and I have
I am currently porting an application from iOS into Android and I have ran
I'm porting my application from 32 bit to 64 bit. Currently, the code compiles
I am porting my application to windows from Linux. I am fairly new to
I am porting an application from iPhone to BlackBerry. BlackBerry apps tend not to
I'm porting my application from Winforms+XNA to WPF (+ XNA?) and I would like
Pretty clear from the title itself, what is meant by porting an application X
Question appears during porting application from JSF 1.2 to JSF 2.0.3 (Mojarra). I have
I am porting an application from wpf to asp.net mvc. In the wpf I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.