how to generated datacontract model from a .edmx file?

Sep 3, 2010 at 6:49 AM

how to generated datacontract model from a .edmx file?

Sep 3, 2010 at 11:51 AM

HI,

You cannot generated a DC directly from a .edmx file (Basically because is not always recommended a 1-1 mapping from Entitties to DCs).

However there are some workarrounds you can explore in these links: http://dhananjaykumar.net/2009/11/28/data-transfer-in-wcf/, http://social.msdn.microsoft.com/Forums/en/netfxnetcom/thread/5673a4fa-b829-45b2-80fe-ac4b4f6451b4?prof=required (second post)

Regards,

Hernan