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 6806557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:43:32+00:00 2026-05-26T19:43:32+00:00

We are migrating from an ugly persistence framework (custom, that probably looked cool at

  • 0

We are migrating from an ugly persistence framework (custom, that probably looked cool at the time)

The problem is that the objects are related using a relations table ( yes, no foreign keys only item id’s)

The database has been migrated to a relation structure with foreign keys and all.

The problem is migrating the code to Entity Framework, we would like to impact to a minimum the UI, but our objects are in different namespace like : Catalog, Catalog.Products, Catalog.Asset, etc …

We wanted to generate the Catalog.cs , from the .edmx, and use the generated classes to modify the old classes (to be able to be used by EF).

Can the DataContext created , load objects from diffent namespaces ?

I did create a class with the proper attibutes , but got rewarded with :

Mapping and metadata information could
not be found for EntityType

Then I added the ObjectSet to the Catalog.cs, but got rewarded with :

The EntitySet name
‘CatalogEntities.ProductTests’ could
not be found

, the ‘CatalogEntities.’ part was added at run time, this is why I suspect that it cannot be done.

Can anyone shed some light on whether it’s possible or not, this would prevent us from changing a lot of namespaces?

  • 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-26T19:43:32+00:00Added an answer on May 26, 2026 at 7:43 pm

    The simple answer is NO

    you can’t load objects from different namespaces in a single Context

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

Sidebar

Related Questions

We have a system that is migrating from an older VARCHAR using LIKE setup
I am having troubles migrating from OC4J 10.1.2.3 to 10.1.3.1.4. The problem is for
Migrating from Subversion to Git using svn2git (which internally uses git-svn) I'd like to
Im currently looking at migrating from fluent nHibernate to ADO.Net Entity Framework 4. I
Has anyone tried migrating from ScrewTurn to Confluence ? I'm hoping that I can
We're migrating from Perforce to GIT. In perforce, there were some files that I'd
I am in the middle of migrating from Linq2Sql to Entity Framework and I
I have a problem migrating from Delphi 2006 to Delphi 2009. A Project which
We are migrating from Remoting to WCF a very big application that makes intensive
I am migrating from Java to C++. It seems that C++ makes classes declaration

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.