Stored Procedures and updating EDMX

前端 未结 5 1565
你的背包
你的背包 2020-12-22 15:37

I have had endless issues with stored procedures and EDMX. I created a procedure, updated the model from the database, and all worked. I then removed a column and added a ne

5条回答
  •  伪装坚强ぢ
    2020-12-22 16:29

    Follow these steps:

    Step 1: Open Edmx

    Step 2: Open Model Browser

    Step 3: Open Complex Types and remove your procedure_Result

    Step 4: Open Functions Imports and delete your procedure

    Step 5 Open StoredProcedur and Functions and delete your procedure

    Step 6: Save Edmx (Ctrl+S), Clean Solution , Update Model From Database and select your procedure which you would like to get updated then finally clean, build solution. Done !

提交回复
热议问题