Exemplo n.º 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));
 }
Exemplo n.º 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);
		}