Now, let's just see the code for the Employee entity. Remember, we have already seen the tables for our sample SOA services scenario.
An extremely simple Employee class can be written as follows:
public class Employee
{
[Key]
public int Employee_ID { get; set; }
public string FamilyName { get; set; }
public string FirstName { get; set; }
public DateTime DOB { get; set; }
public string Grade { get; set; }
public DateTime PPT_Issue_Date { get; set; }
public DateTime PPT_Expiry_Date { get; set; }
}