An .edmx file is an XML file that defines an Entity Data Model (EDM), describes the target database schema, and defines the mapping between the EDM and the database.
Update imported stored procedure /view in EDMX:
1. Open the .edmx file and right click on EDMX and select Model Browser
2. In Model Browser, the Functions Imports under OfficeModel tab and select stored procedure ‘GetOfficeHistoryByID’ and Click on Edit
3. “Edit Function Import” window will be opened and Click on “Get Column Information” button to get stored procedure the output schema.
4. Click on Update Button under “Returns a Collection of” Section to update complex type “GetOfficeHistoryByID_Result”, which will be used to map the stored procedure output data.
5. Save .edmx file to reflect field changes related to stored procedure /view.