Created
July 24, 2012 10:41
-
-
Save johnnonolan/3169335 to your computer and use it in GitHub Desktop.
autoprops
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Patient | |
{ | |
public virtual string PatientNo { get; set; } | |
public virtual string FirstName { get; set; } | |
public virtual string LastName { get; set; } | |
public virtual string TCId { get; set; } | |
public virtual string FatherName { get; set; } | |
public virtual string MotherName { get; set; } | |
public virtual string Sex { get; set; } | |
public virtual IList Children { get; set;} | |
// snip | |
public virtual string HomeInvoiceAddress | |
{ | |
get | |
{ | |
return FirstName + " " + LastName + "\n" | |
+ HomeDistrict + " " + HomeAddress + "\n" | |
+ HomeTown + " " + HomePostCode + " " + HomeCity; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment