Trace at db level
This commit is contained in:
parent
0ed6cf9d36
commit
a72231cb14
@ -729,6 +729,10 @@ $@"{{
|
|||||||
public string BuildConnectionString()
|
public string BuildConnectionString()
|
||||||
{
|
{
|
||||||
string connectionString = $"Provider=MSOLAP;Data Source={this.ServerName};";
|
string connectionString = $"Provider=MSOLAP;Data Source={this.ServerName};";
|
||||||
|
if (!String.IsNullOrEmpty(this.DatabaseName))
|
||||||
|
{
|
||||||
|
connectionString += $"Initial Catalog={this.DatabaseName};";
|
||||||
|
}
|
||||||
if (this.CredsProvided)
|
if (this.CredsProvided)
|
||||||
{
|
{
|
||||||
connectionString += $"User ID={this.Username};Password={this.Password};";
|
connectionString += $"User ID={this.Username};Password={this.Password};";
|
||||||
|
@ -2283,7 +2283,7 @@ namespace BismNormalizer.TabularCompare.TabularMetadata
|
|||||||
XmlNodeList partitionNodeList = document.GetElementsByTagName("Partition");
|
XmlNodeList partitionNodeList = document.GetElementsByTagName("Partition");
|
||||||
XmlNodeList tableNodeList = document.GetElementsByTagName("Table");
|
XmlNodeList tableNodeList = document.GetElementsByTagName("Table");
|
||||||
|
|
||||||
if (partitionNodeList != null && tableNodeList != null)
|
if (partitionNodeList != null && partitionNodeList.Count > 0 && tableNodeList != null && tableNodeList.Count > 0)
|
||||||
{
|
{
|
||||||
if (_tablesToProcess.ContainsId(tableNodeList[0].InnerText))
|
if (_tablesToProcess.ContainsId(tableNodeList[0].InnerText))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user