Analysis-Services/BismNormalizer/BismNormalizer/DemoHarness.cs
Christian Wade fd682bcd78 Merge V0
2019-09-13 21:30:22 -07:00

38 lines
824 B
C#

#if DEBUG
using BismNormalizer.TabularCompare;
using BismNormalizer.TabularCompare.Core;
using System.Diagnostics;
namespace BismNormalizer
{
public static class DemoHarness
{
public static void Main()
{
using (Comparison c = ComparisonFactory.CreateComparison("C:\\TabularCompare1.bsmn", ""))
{
c.Connect();
c.CompareTabularModels();
//c.ComparisonObjects
c.ValidationMessage += HandleValidationMessage;
c.ValidateSelection();
c.Update();
c.Disconnect();
}
}
private static void HandleValidationMessage(object sender, ValidationMessageEventArgs e)
{
Debug.WriteLine(e.Message);
}
}
}
#endif