コード例 #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
ファイル: Model.cs プロジェクト: regmi007/nhibernate-core
		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);
		}