首页 > 代码库 > 年前辞职-WCF入门学习(6)

年前辞职-WCF入门学习(6)

技术分享
 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5  6 namespace EmployeeService 7 { 8     public class Employee 9     {10         private int _id;11         private string _name;12         private bool _gender;13         private DateTime _dateOfBirth;14 15         public int Id16         {17             get { return _id; }18             set { this._id = value; }19         }20         public String Name21         {22             get { return _name; }23             set { this._name = value; }24         }25         public bool Gender26         {27             get { return _gender; }28             set { this._gender = value; }29         }30         public DateTime DateOfBirth31         {32             get { return _dateOfBirth; }33             set { this._dateOfBirth = value; }34         }35     }36 }
View Code

 

年前辞职-WCF入门学习(6)