Models the result of a table configuration comparison.
Creates a new instance of a Miss result.
public Void TableComparisonResult(desired, miss)
Name | Type | Summary |
---|---|---|
desired | Table | Desired Table configuration. |
miss | Boolean | Whether the result is a miss (true) or a hit (false). |
Type | Summary |
---|---|
ArgumentNullException | Thown when desired is null |
Actions to correct column constraint(s) miss-configuration.
public List<MissActionForColumnConstraint> ColumnConstraints { get; set; }
Actions to correct column(s) miss-configuration.
public List<MissActionForTableColumn> Columns { get; set; }
Actions to correct foreign key(s) miss-configuration.
public List<MissActionForForeignKey> ForeignKeys { get; set; }
Actions to correct index(es) miss-configuration.
public List<MissActionForIndex> Indexes { get; set; }
Whether the result is a miss.
public Boolean Miss { get; set; }
Actions to correct primary key miss-configuration.
public List<MissActionForIndex> PrimaryKey { get; set; }
Result type of table comparison.
public TableComparisonMissResultType Type { get; set; }
Creates a new instance of a hit result.
public TableComparisonResult Hit(desired)
A new instance of a hit result for desired.
Name | Type | Summary |
---|---|---|
desired | Table | Desired Table configuration. |
Creates a new instance of a missed result.
public TableComparisonResult Missed(desired)
A new instance of a missed result for desired.
Name | Type | Summary |
---|---|---|
desired | Table | Desired Table configuration. |
Returns a detailed string good for logging.
public String ToDetailedString()
A textual representation of the result good for logging.
Returns a textual representation of this object.
public String ToString()