public override bool Equals(object obj) { if (obj == null) { return(false); } AppointmentEN t = obj as AppointmentEN; if (t == null) { return(false); } if (Id.Equals(t.Id)) { return(true); } else { return(false); } }
public AppointmentEN(AppointmentEN appointment) { this.init(Id, appointment.IsVirtual, appointment.Description, appointment.Direction, appointment.ReasonCode, appointment.CareActivity); }