WCF - IsRequired doesn't cause an exception, even when I don't supply the required value

后端 未结 0 1809
忘了有多久
忘了有多久 2021-01-02 21:23

I have a simple entity, and one of its property is required:

[DataContract]
 public class Person
 {
     [DataMember]
     public string FirstName { get; set;         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题