阅读背景:

在WCF中,数据契约类可以相互继承吗?

来源:互联网 

In a WCF service, I have two classes with the [DataContract] attribute. One of these classes has an "is-a" relationship with the other - so class B can inherit from class A. However, when I configure inheritance between these two classes, both denoted with a [DataContract] attribute, the metadata fails to load when testing the services.In a WCF service, I have two classes with the [




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: