Example #1
0
		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);
		}
Example #2
0
 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));
 }