This commit is contained in:
Christian Wade 2020-01-13 13:14:13 -08:00
parent fb05dc33e1
commit edb8a5f560
10 changed files with 17 additions and 15 deletions

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.0.1.0")]
[assembly: AssemblyFileVersion("5.0.1.0")]
[assembly: AssemblyVersion("5.0.0.13")]
[assembly: AssemblyFileVersion("5.0.0.13")]

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.0.1.0")]
[assembly: AssemblyFileVersion("5.0.1.0")]
[assembly: AssemblyVersion("5.0.0.13")]
[assembly: AssemblyFileVersion("5.0.0.13")]

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.0.1.0")]
[assembly: AssemblyFileVersion("5.0.1.0")]
[assembly: AssemblyVersion("5.0.0.13")]
[assembly: AssemblyFileVersion("5.0.0.13")]

View File

@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.0.1.0")]
[assembly: AssemblyFileVersion("5.0.1.0")]
[assembly: AssemblyVersion("5.0.0.13")]
[assembly: AssemblyFileVersion("5.0.0.13")]

View File

@ -695,7 +695,7 @@ $@"{{
}
_compatibilityLevel = amoDatabase.CompatibilityLevel;
_dataSourceVersion = amoDatabase.Model.DefaultPowerBIDataSourceVersion.ToString();
if (_compatibilityLevel >= 1400) _dataSourceVersion = amoDatabase.Model.DefaultPowerBIDataSourceVersion.ToString();
_serverMode = amoServer.ServerMode;
_directQuery = ((amoDatabase.Model != null && amoDatabase.Model.DefaultMode == Microsoft.AnalysisServices.Tabular.ModeType.DirectQuery) ||
amoDatabase.DirectQueryMode == DirectQueryMode.DirectQuery || amoDatabase.DirectQueryMode == DirectQueryMode.InMemoryWithDirectQuery || amoDatabase.DirectQueryMode == DirectQueryMode.DirectQueryWithInMemory);

View File

@ -2194,7 +2194,6 @@ namespace BismNormalizer.TabularCompare.TabularMetadata
//Need recalc even if created no tables in case of new relationships without tables
_database.Model.RequestRefresh(RefreshType.Calculate);
_database.Model.SaveChanges();
// Show row count for each table

View File

@ -215,8 +215,11 @@ namespace BismNormalizer.TabularCompare.UI
node.Cells[10].Value = comparisonObject.SourceObjectDefinition;
node.Cells[11].Value = comparisonObject.TargetObjectDefinition;
bool isMdMetadata = (comparisonObject is MultidimensionalMetadata.ComparisonObject);
string treeIndentLevel1 = new String(' ', 13);
string treeIndentLevel2 = new String(' ', 20);
string treeIndentLevel3 = new String(' ', 27);
switch (comparisonObject.ComparisonObjectType)
{
@ -242,20 +245,20 @@ namespace BismNormalizer.TabularCompare.UI
else
{
node.ImageIndex = 1;
node.Cells[0].Value = treeIndentLevel1 + "Table";
node.Cells[0].Value = (isMdMetadata ? treeIndentLevel2 : treeIndentLevel1) + "Table";
}
break;
case ComparisonObjectType.Relationship:
node.ImageIndex = 2;
node.Cells[0].Value = treeIndentLevel2 + "Relationship";
node.Cells[0].Value = (isMdMetadata ? treeIndentLevel3 : treeIndentLevel2) + "Relationship";
break;
case ComparisonObjectType.Measure:
node.ImageIndex = 3;
node.Cells[0].Value = treeIndentLevel2 + "Measure";
node.Cells[0].Value = (isMdMetadata ? treeIndentLevel3 : treeIndentLevel2) + "Measure";
break;
case ComparisonObjectType.Kpi:
node.ImageIndex = 4;
node.Cells[0].Value = treeIndentLevel2 + "KPI";
node.Cells[0].Value = (isMdMetadata ? treeIndentLevel3 : treeIndentLevel2) + "KPI";
break;
case ComparisonObjectType.CalculationItem:
node.ImageIndex = 24;

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="BismNormalizer.ea2aeb43-64a6-4dee-8816-099fb44513fa" Version="5.0.1.0" Language="en-US" Publisher="BISM Normalizer" />
<Identity Id="BismNormalizer.ea2aeb43-64a6-4dee-8816-099fb44513fa" Version="5.0.1.2" Language="en-US" Publisher="BISM Normalizer" />
<DisplayName>BISM Normalizer</DisplayName>
<Description xml:space="preserve">BISM Normalizer manages Analysis Services tabular models</Description>
<MoreInfo>http://bism-normalizer.com/</MoreInfo>