Beispiel #1
0
        }     //updateDefinitionElementByPK

        /// <summary>
        /// Use CAFDbLink to lookup the PK column of a table on a CAF schema in DATA_DICTIONARY
        /// </summary>
        /// <param name="SourceTable">The table to find a PK column for</param>
        /// <returns>The PK column of the SourceTable</returns>
        private string _getPKColumnForTable(string SourceTable)
        {
            string ret           = "";
            string ExceptionText = "";

            if (SchemaModTrnsctn.IsDbLinkConnectionHealthy(_CAFDbLink, ref ExceptionText))
            {
                ret = _NbtImporter.getRemoteDataDictionaryPkColumnName(SourceTable, _CAFDbLink);
            }
            else
            {
                SchemaModTrnsctn.logError(ExceptionText);
            }

            return(ret);
        }//_getPKColumnForTable( string SourceTable )