/// <summary> /// Updates this entity to the given values /// </summary> /// <param name="detail">The details this entity should be updated to</param> public void Update(ContactNumber <T> detail) { Name = detail.Name; InternationalCode = detail.InternationalCode; AreaCode = detail.AreaCode; Number = detail.Number; Default = detail.Default; }
/// <summary> /// Contact Number constructor /// </summary> /// <param name="contactNumber">The contact number this contact number should be created with</param> public ContactNumber(ContactNumber <T> contactNumber) { Name = contactNumber.Name; InternationalCode = contactNumber.InternationalCode; AreaCode = contactNumber.AreaCode; Number = contactNumber.Number; Default = contactNumber.Default; }