Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
what if we change the database table like creating more columns, after adding it into entity model will it get changed in the project.
Posted

Initially no the changes will not be reflected, however in the EDMX designer within visual studio you can right click and select "Update Model from Database". This should allow you to update your entity model with your changes made.
 
Share this answer
 
Comments
Abhisar Garg 5-Feb-14 7:23am    
This is a better answer to my question!!! :P
Karthik_Mahalingam 5-Feb-14 7:30am    
Agreed.
The changes you made in the DB wont get reflected in the project, unless you modify the DBML or EDMX file manually.
 
Share this answer
 
Comments
Abhisar Garg 5-Feb-14 7:20am    
Thanks Man!!!
Karthik_Mahalingam 5-Feb-14 7:22am    
Thanks abhisar:)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900