c# 4.0 - Can required WCF4 DataMemeber's be organized into required groups? -


is there way have required datamember's within datacontract organized groups require group 1 or group 2 no both provided?

i looking see if there functionality similar workflow activity validation can flag inargument's requiredargument , use overloadgroup attribute put these groups arguments in 1 of specified groups required.

it not possible out of box datacontractserializer can switch xmlserializer , use xsd:choice (xmlchoiceidentifierattribute) aware affect data class beacuse construct has own requirements.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -