开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜