I update my edmx file with a new stored procedure and expect it to generate FunctionImports and ComplexTypes for this procedure automatically, but no luck.
I am new to Entity Framework, Please help
Thanks
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.
Function imports or complex types are never generated automatically. You must open Model Browser and create them manually. Adding stored procedure to the model will only allow you creating the import. The reason is that not every procedure is used for import. Some procedures can be mapped to modification operations (insert, update, delete) on entities.