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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:29:00+00:00 2026-05-25T02:29:00+00:00

I work with EF 4 (not with Self-tracking entities currently). I’ve added some columns

  • 0

I work with EF 4 (not with Self-tracking entities currently). I’ve added some columns (non of them is a key and all of the are nullable) to one of my entities, and got the Number of members in conceptual type does not match with number of members on object side type exception.
I’ve followed the accepted answer here but all I got from that was that this entity does not appear in my edmx anymore. I’ve re-added it from DB, but I keep getting the same exception.
I think the problem is that I’ve copied the csdl/ssdl/msl files to my executing assembly directory. I’d like to copy the updated files, but they’re not created again (they were once created in the obj\Debug\edmxResourcesToEmbed folder of my EF project), not even after removing them.
Any way to get those files created again?
Thanks.

P.S: As I don’t want to publish excess amounts of code, I don’t add anything yet but I’ll be happy to add needed information, I’m just not sure what exactly is needed.

  • 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-25T02:29:01+00:00Added an answer on May 25, 2026 at 2:29 am

    So if you want to create the csdl, ssdl amd msl files, do the following:

    1. Go to your edmx file.
    2. Click on the GuI screen that shows the model.
    3. Switch to the property window (I didn’t know that it needs to be accessed from the GUI area and not by right clicking the file in the Solution Explorer.
    4. In the Metadata Artifact Process select Embed in Output Assembly.

    Done and done, the files will appear in Debug\edmxResourcesToEmbed under obj or obj\x86, depends on your build definitions.
    I’m sorry if this seems to simple to explain, but I was in need for those instructions (msdn was not a great help) and I hope it might help others.

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

Sidebar

Related Questions

is self not completely interchangeable with this in C++? It seems to work with
I've tried this: CATransform3D rotationTransform = [[self.layer presentationLayer] transform]; This will not work, since
window[objref] does not work self[objref] does not work either Here is jsfiddle . Here
I have a WCF client which passes Self-Tracking Entities to a WPF application built
I was just trying to do some extensive model first using the self tracking
This is driving me crazy and has resulted in lost work (not much, at
py2exe does not work with the standard email module Hello. I am trying to
IIS does not work when I start applications like Skype since it also uses
This does NOT work: Sub X() Dim A As Access.Application Set A = CreateObject(Access.Application)
DataAnnotations does not work with buddy class. The following code always validate true. Why

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.