using BismNormalizer.TabularCompare.Core; namespace BismNormalizer.TabularCompare { /// /// Represents a skipped ComparisonObject. /// public class SkipSelection { private ComparisonObjectType _comparisonObjectType; private ComparisonObjectStatus _comparisonObjectStatus; private string _sourceObjectInternalName; private string _targetObjectInternalName; /// /// Initializes a new instance of the SkipSelection class. /// public SkipSelection() { } /// /// Initializes a new instance of the SkipSelection class using a ComparisonInfo object. /// /// ComparisonInfo object typically deserialized from a BSMN file. public SkipSelection(Core.ComparisonObject comparisonObject) { _comparisonObjectType = comparisonObject.ComparisonObjectType; _comparisonObjectStatus = comparisonObject.Status; _sourceObjectInternalName = comparisonObject.SourceObjectInternalName; _targetObjectInternalName = comparisonObject.TargetObjectInternalName; } /// /// The comparison object type such as Table, Measure, Relationship, etc. /// public ComparisonObjectType ComparisonObjectType { get { return _comparisonObjectType; } set { _comparisonObjectType = value; } } /// /// The comparison object status such as Same Definition, Different Definitions, Missing in Target and Missing in Source. /// public ComparisonObjectStatus Status { get { return _comparisonObjectStatus; } set { _comparisonObjectStatus = value; } } /// /// The source object internal name. /// public string SourceObjectInternalName { get { return _sourceObjectInternalName; } set { _sourceObjectInternalName = value; } } /// /// The target object internal name. /// public string TargetObjectInternalName { get { return _targetObjectInternalName; } set { _targetObjectInternalName = value; } } } }