RIA Services: Sending complex types to the client

added by mehroz
11/24/2010 11:32:33 PM

0 Kicks, 169 Views

Entity Framework 4 allows us to create complex types. Typically, such types are used to get the result of a stored procedure. However, when we try to send such a complex type using a WCF RIA Domain Service, we encounter an error that the there is no key defined for that Entity. This post will describe a quick solution.