Solved

EDMX file maintain it's own model

Posted on 2011-09-10
4
641 Views
Last Modified: 2012-08-13
Well,

I am using MVC 3 and using that I tried to create my Model from existing databse. I was expecting that Once I create model adn start my CRUD operations from the Controller then It would map itslef to the database and then I would basically see the reflection of the changes back in the databse.

Well, unfortunately it is not hppening. Instead, what is happening is that EDMX is maintaining it's own Model. I am attaching screenshot for your reference.

whatever data that I insert is not going to my original database now. I think it is going to this EDMX model. Can somebody please throw light on this?

0
Comment
Question by:TheCommunicator
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 

Accepted Solution

by:
TheCommunicator earned 0 total points
ID: 36517050
I am sorry I forgot to attach the file.
EDMX-model-view.png
0
 
LVL 12

Assisted Solution

by:Praveen Kumar
Praveen Kumar earned 500 total points
ID: 36518709
Can paste your CRUD code as well? Are you calling SaveChanges() method?
0
 

Author Comment

by:TheCommunicator
ID: 36525087
Well, I am sorry for all the confusion, it turned out that the whole problem started because I did not name my Connection string same as the DB Context file. Had I done that, none of these things could had happened. Anyyways, the pronlem is resolved.

Thank you so much for your help:).
0
 

Author Closing Comment

by:TheCommunicator
ID: 36553496
Expert's commnet was certainly a right question but as the solution was a collective thread. I think it should help futher readers if I select all the comments in the thread as the answer rahter than concentrating on only cone comment.
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Suggested Courses

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question