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

  • SEARCH
  • Home
  • 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 215287
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T18:27:22+00:00 2026-05-11T18:27:22+00:00

I have an existing model for my project. I would like to switch to

  • 0

I have an existing model for my project. I would like to switch to Entity Framework but I don’t want to replace my model with the model generated from EF.

Additionally, my model is very different from my database schema so any chances to use the model generated from EF and do all the required refactoring seems too hard.

Does exist any way to have an existing domain, an existing database and use EF only to add methods to my domain to include the O/RM layer?

  • 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-05-11T18:27:23+00:00Added an answer on May 11, 2026 at 6:27 pm

    In .NET 3.5SP1, then the answer is a big fat “no” I’m afraid. In .NET 4.0 the story looks more promising, with POCO support being introduced (which should hopefully let you use your own objects, although I haven’t tried it on the public beta yet).

    Note that you can do POCO (with your own objects) with LINQ-to-SQL, by using an external mapping file (and supplying a DataContext object) – but the tools don’t exactly help you to do this (it wants to use code generation by default).

    For now, maybe NHibernate (and similar) is your best choice.

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

Sidebar

Related Questions

I have a problem adding ADO.Net Entity Data Model to my existing project, or
I would like to evaluate JPA on an existing project. The database model and
I have several existing XML schema files with a defined data model. I would
I have an existing WPF project and I want to move it over to
I would like to mix a field into an existing model which I would
In GAE, I have a model called Foo, with existing entities, and attempt to
I have existing code with their own makefiles which I want to load into
Im currently looking at migrating from fluent nHibernate to ADO.Net Entity Framework 4. I
In my pet project I want to have a user system with the following
So suppose I have two Models -- Project and Task I want user to

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.