Complex Types and Function Imports in POCO entity
I update my edmx file with a new stored procedure and expect it to generate FunctionImports and ComplexTypes f开发者_运维知识库or this procedure automatically, but no luck.
I am new to Entity Framework, Please help
Thanks
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.
精彩评论