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
Post a Comment