开发者

Pass list of custom types in Silverlight Ria services

开发者 https://www.devze.com 2023-02-12 17:37 出处:网络
i have to read csv file. from csv file, i have to create a List list And then return it to the calling method.

i have to read csv file. from csv file, i have to create a List list And then return it to the calling method.

do you recommend any other alternative? also CustomClass has a property List. It's always null on the silverlight side开发者_StackOverflow社区. Can you tell me what the solution is?


The solution is to use [Include] and [Associate] attributes for properties of the class.

Also to read data, we can return an IEnumerable type e.g. list, ilist from our ria service to the silverlight application

0

精彩评论

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