Exemple #1
0
 public bool IsEquivalent(Table mainTable, int[] mainCols, Table refTable, int[] refCols)
 {
     if (this.ConstType <= 1)
     {
         if ((mainTable != this.Core.MainTable) || (refTable != this.Core.RefTable))
         {
             return(false);
         }
         if ((this.Core.MainCols.Length == mainCols.Length) && (this.Core.RefCols.Length == refCols.Length))
         {
             return(ArrayUtil.AreEqualSets(this.Core.MainCols, mainCols) && ArrayUtil.AreEqualSets(this.Core.RefCols, refCols));
         }
     }
     return(false);
 }