예제 #1
0
파일: Model.cs 프로젝트: jrauber/GH1429
 public virtual bool Equals(EmployeeAddress other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other.Employee, Employee) && Equals(other.Type, Type));
 }
예제 #2
0
		public virtual bool Equals(EmployeeAddress other)
		{
			if (ReferenceEquals(null, other)) return false;
			if (ReferenceEquals(this, other)) return true;
			return Equals(other.Employee, Employee) && Equals(other.Type, Type);
		}