Closed pm7y closed 1 year ago
Please can you describe how to programmatically add an exclusion for a property of a specific entity.
Could it be something like this? using SubLogs?
var userCompareLog = new CompareLog(CompareType.Entity, CompareState.Different, nameof(User), CompareAttributes.TableName); userCompareLog.SubLogs.Add(new CompareLog(CompareType.Property, CompareState.Different, nameof(User.FullName), CompareAttributes.DefaultValueSql, expected: null, found: "''"));
The Suppress errors via AddIgnoreCompareLog explains how to suppress a general set of errors. That means it any CompareLog that matches. That means you can't match to a CompareLog and its SubLog.
Please can you describe how to programmatically add an exclusion for a property of a specific entity.
Could it be something like this? using SubLogs?