简体   繁体   English

WCF数据服务客户端集合类型

[英]WCF Data Service Client Collection Types

I've got an EF6 model, and a WCF Data Services service layer to expose it to my WPF client. 我有一个EF6模型和一个WCF数据服务服务层,将其公开给我的WPF客户端。 When I add the Service Reference to the client, the advanced dialog allows me to choose which Collection and Dictionary types. 当我将服务引用添加到客户端时,高级对话框允许我选择哪种集合和字典类型。 Do I need to change these for WPF? 我需要为WPF更改这些设置吗? I think so, there's certainly types in the list that seem more appropriate than the defaults, but I can't find anything the specifically says I need to change things. 我认为是这样,列表中肯定有一些看起来比默认类型更合适的类型,但是我找不到任何明确表示需要更改的内容。

You do not need to change those for WPF. 您无需为WPF更改这些设置。 It depends strictly on what you will do with those lists. 这完全取决于您对这些列表的处理方式。 You can see here a little discussion on what you should choose. 您可以在这里看到有关应选择什么的一些讨论。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM