Add -> Function Import.
GetCountryListSPselect your process from the drop-down box, then select what the procedure's return value should be.
CountryNamevia the drop-down menu.
next, in the code:
var result = db.GetCountryListSP();//Send parameters too
With this strategy, you avoid going back.
of the stored procedure. For additional information regarding the stored procedure issue with Entity Framework, please see the this post.