public override bool Equals(object obj) { var target = obj as Function; if (target == null) { return(false); } return(FunctionId.Equals(target.FunctionId)); }