Is it possible to refresh only one entity (which depends on one table) in entity framework 4.0 designer?
when I refresh model from sql server database, it refreshes all entities.
Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
No you can’t refresh only one entity at a time with the update model from database wizard.
You can make a backup of your edmx, update it, open it as an xml file (right click>Open With>XML (Text) Editor), copy the modified sections about your entity (in the csdl, msl and ssdl sections), and paste them in your backup.