예제 #1
0
 /// <summary>
 /// Returns true if this index matches that, property for property.
 /// </summary>
 /// <param name="that"></param>
 /// <returns></returns>
 public bool Matches(IndexInfo that)
 {
     return(this.Name == that.Name &&
            CollectionUtils.Equal <string>(this.Columns, that.Columns, true));
 }
예제 #2
0
파일: IndexInfo.cs 프로젝트: nhannd/Xian
		/// <summary>
		/// Returns true if this index matches that, property for property.
		/// </summary>
		/// <param name="that"></param>
		/// <returns></returns>
		public bool Matches(IndexInfo that)
		{
			return this.Name == that.Name &&
				CollectionUtils.Equal<string>(this.Columns, that.Columns, true);
		}