public override bool Equals(object obj) { if (obj == null) { return(false); } NotificationEN t = obj as NotificationEN; if (t == null) { return(false); } if (Id.Equals(t.Id)) { return(true); } else { return(false); } }
public NotificationEN(NotificationEN notification) { this.init(Id, notification.Severity, notification.Message, notification.SendDate, notification.Receivers, notification.CarePlan); }