I am trying to add a stored procedure to entity model. When I try function import, and want to use a complex type based on SP structure, it doesn’t allow me. Infact Complex Types Option is disabled.
How to solve this issue?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The only way how to solve this issue is upgrading to EF 4.0 because returning complex types from function imports is new feature of EFv4.