public override bool Equals(object obj) { if (obj == null) { return(false); } GoalEN t = obj as GoalEN; if (t == null) { return(false); } if (Id.Equals(t.Id)) { return(true); } else { return(false); } }
public GoalEN(GoalEN goal) { this.init(Id, goal.CarePlanTemplate, goal.Priority, goal.Targets, goal.Status, goal.Condition, goal.Description, goal.Category, goal.OutcomeCode, goal.Name); }