Пример #1
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));
 }
Пример #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);
		}