0
WCF休息初学者工具包OnGetItems返回IEnumerable<KeyValuePair<string,BusinessObject>>
WCF休息入门套件OnGetItems:格式化的IEnumerable <KeyValuePair .. XML
在系列化,它成为
<ItemInfoList>
<ItemInfo>
<EditLink>http://localhost:1394/BService.svc/1</EditLink>
<Item>
<Name>Foundations</Name>
</Item>
</ItemInfo>
<ItemInfo>
<EditLink>http://localhost:1394/Service.svc/2</EditLink>
<Item>
<Name>Hitchhikers guide</Name>
</Item>
</ItemInfo>
</ItemInfoList>
我想将ItemInfo和ItemInfoList更改为更具像商业实体名称一样明智。我怎样才能做到这一点?