public override bool Equals(object obj) { if (obj == null) { return(false); } DisabilityEN t = obj as DisabilityEN; if (t == null) { return(false); } if (Id.Equals(t.Id)) { return(true); } else { return(false); } }
public DisabilityEN(DisabilityEN disability) { this.init(Id, disability.Patient, disability.Name, disability.Type, disability.Severity, disability.Origin, disability.AccessMode, disability.Description); }