There are some easy steps to do this.
1- Go and update the model from the database and add the required stored procedure 
2- create a complex type from the model browser

in a complex type, display the fields of the stored procedure when they return the data.
3- and map the complex type to the stored procedure. and use it when using a table.
source share