Map stored procedure results to a custom complex type in Entity Framework

后端 未结 1 1185
独厮守ぢ
独厮守ぢ 2021-01-27 16:31

Consider a stored procedure GetEmployees which has a SELECT statement like

SELECT EMP_ID, EMP_NAME, EMP_EMAIL 
FROM EMPLOYEE

相关标签:
1条回答
  • 2021-01-27 16:55

    It is a standard feature. You have go to the mapping of the function import and change the result type to the custom type.

    0 讨论(0)
提交回复
热议问题