Prevent Custom Entity being deleted from Entity Framework during Update Model Wizard

Posted by rbg on Stack Overflow See other posts from Stack Overflow or by rbg
Published on 2010-04-01T22:31:33Z Indexed on 2010/04/01 22:33 UTC
Read the original article Hit count: 722

Filed under:

In Entity Framework v1 If you create a Custom Entity to map it to a Stored Procedure during FunctionImport and then Select "Update Model from Database" the Update Model Wizard removes the Custom Entity (as added Manually in the SSDL XML prior to functionImport) from the SSDL.

Does anyone know if this limitation has been dealt with Entity Framework v4? I mean is there a way to prevent the Wizard from removing the Custom Entity from the Storage Schema (SSDL) during Model Update from Database????

© Stack Overflow or respective owner

Related posts about entity-framework