Stored procedures are represented as functions in the EDM. To use these functions, they should be mapped to a corresponding insert, update, or delete operation on the entity. To do this, you need to first create a function import and then use the designer to create its mapping. In this section, you will learn how to create these function imports for your EDM.
To begin, let's refer to the EDM we created earlier in this chapter. To create function imports, follow these steps:
PayrollEntity Data Model.