コード例 #1
0
ファイル: ForeignKeyInfo.cs プロジェクト: hksonngan/Xian
 /// <summary>
 /// Returns true if this constraint matches that, property for property.
 /// </summary>
 /// <param name="that"></param>
 /// <returns></returns>
 public bool Matches(ForeignKeyInfo that)
 {
     return(this.ReferencedTable == that.ReferencedTable &&
            CollectionUtils.Equal <string>(this.ReferencedColumns, that.ReferencedColumns, false) &&
            base.Matches(that));
 }
コード例 #2
0
		/// <summary>
		/// Returns true if this constraint matches that, property for property.
		/// </summary>
		/// <param name="that"></param>
		/// <returns></returns>
		public bool Matches(ForeignKeyInfo that)
		{
			return this.ReferencedTable == that.ReferencedTable
				&& CollectionUtils.Equal<string>(this.ReferencedColumns, that.ReferencedColumns, false)
				&& base.Matches(that);
		}