public bool Equals(HomeAutomationEntity that) { if (that == null) { return(false); } if (!String.Equals(this.Address, that.Address)) { return(false); } if (!String.Equals(this.Name, that.Name)) { return(false); } return(true); }
public bool Equals(HomeAutomationEntity that) { if (that == null) { return false; } if (!String.Equals(this.Address, that.Address)) { return false; } if (!String.Equals(this.Name, that.Name)) { return false; } return true; }