public void UpdateTo(Person person) { if (person.Addresses.Any()) { var landmark = person.Addresses.First().Landmark; if (null != PHYSICAL_ADDRESS) { PHYSICAL_ADDRESS.UpdateTo(landmark); } } }
public static PATIENT_ADDRESS Create(string landmark, int?county, int?subCounty, int?ward) { return(new PATIENT_ADDRESS(PHYSICAL_ADDRESS.Create(landmark, county, subCounty, ward))); }
private PATIENT_ADDRESS(PHYSICAL_ADDRESS physicalAddress) { PHYSICAL_ADDRESS = physicalAddress; }
public static PATIENT_ADDRESS Create(string landmark) { return(new PATIENT_ADDRESS(PHYSICAL_ADDRESS.Create(landmark))); }