2017-04-21 11 views
1

edmx 다이어그램을 업데이트 할 수 없습니다. 변경 사항은 반영되지 않습니다. 이 방법을 시도했지만 나에게 효과가없는 것 같습니다. 어떤 도움을 주시겠습니까?edmx 다이어그램을 업데이트 할 수 없습니다.

방법은 내가 시도 : 내 질문에 제공

Go to Model browser. MyStoreProc is the name of the stored procedure (as an example). MyStoreProc will appear in 3 places. 

1st place- Under Complex Types-> as MyStoreProc_result 
2nd Place- Under Function Imports -> as MyStoreProc 
3rd Place - Under Stored Procdures/ Functions -> as MyStoreProc 
Delete all three from model. Save the edmx (by clicking in the window then ctrl+S). Then right click and click update the model from database. Then add the updated stored procedure and Save again. 
+0

DB에서 업데이트하려면 삭제할 필요가 없다고 생각하십니까? 다이어그램에서 오른쪽 마우스 버튼을 클릭하고 데이터베이스에서 모델 업데이트를 클릭하면 그냥 작동해야합니다. – ADyson

+0

실제로 작동하지 않습니다. 그래서 위의 방법을 시도 – beginner

+0

어떻게 작동하지? 오류가 있습니까? 어떻게 든 제대로 설정되지 않은 한, 그렇게해서는 안되는 이유는 없습니다. EDMX 등의 XML을 사용자 정의 했습니까? – ADyson

답변

0

솔루션은 정확합니다. 내 시스템의 여러 데이터베이스에 문제가있어서 edmx를 업데이트 할 수 없었습니다. 모든 도움에 감사드립니다.