예제 #1
0
        internal void ValidateSourceColumn(int index, string value)
        {
            int pindex = IndexOf(value);

            if ((-1 != pindex) && (index != pindex))
            { // must be non-null and unique
                throw ADP.ColumnsUniqueSourceColumn(value);
            }
        }
예제 #2
0
        internal void ValidateSourceColumn(int index, string value)
        {
            int num = this.IndexOf(value);

            if ((-1 != num) && (index != num))
            {
                throw ADP.ColumnsUniqueSourceColumn(value);
            }
        }