开发者

How to enable WCF Ria service for ComplexType as reasult from SP?

As learned from Sliverlight forum, WCF ria Service does not support ComplexType, but EF 4.0 supply complextype for results of st开发者_StackOverflow中文版ored procedure. So if I want to use the results from stored procedure to feed data for datagrid in silverlight client, what's the solution? how to resolve it?


EF 4.0 can supply complex types for proc results, but it doesn't have to. You can map regular entities, as well.


See the following:

http://smehrozalam.wordpress.com/2010/11/24/ria-services-sending-complex-types-to-the-client/

I tried it; it works. Also, it seems WCF RIA Services SP1 will be released soon, and it supports complex types.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜