svcutil
to generate all the data contract in an assembly that is used by WCF I would like to emphasize, whether any given operation is referred to by the contract. [DataContract] Public Category Foo {} [DataContract] Public Square Bar: Foo {} [ServiceContract] Public Interface IService {Operation Contract] Get Null (Fu Foo); }
Looking at this setup I can not get a version of svcutil
for bar
because there is no operation agreement That is not what it currently refers to. Forcing svcutil
to generate data contract for bar
The type known type in the Foo category
[known type (typed (bar)) [datacontract] public square fu {}
Comments
Post a Comment