public bool Equals(Entity2Id other) { if (ReferenceEquals(null, other)) { return false; } if (ReferenceEquals(this, other)) { return true; } return Equals(other.Entity1, Entity1) && Equals(other.Entity3, Entity3); }
public bool Equals(Entity2Id other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(other.Entity1, Entity1) && Equals(other.Entity3, Entity3)); }