wcf 序列化问题 急急急急急对象模型源码:C# code[DataContract]public class BaseModle{[DataMember]publi
wcf 序列化问题 急急急急急 对象模型源码:
C# code
[DataContract]public class BaseModle{ [DataMember] public string id{get;set;}}[DataContract]public class TestModle:BaseModle{ [DataMember] public string name{get;set;}}
服务方法:
C# code
public class Services{ public BaseModle GetModle(string id) { return new TestModle(){id="ddd",name="ddd"}; }}