Class Pivot
Implements
Inherited Members
Namespace: LemonEdge.API.Core.Migrations.Testing
Assembly: LemonEdge.API.Core.Migrations.dll
Syntax
public class Pivot : ITableResultComparer
Constructors
Pivot()
Declaration
public Pivot()
Properties
CompareTable
True indicates the table should be compared, false indicates it should be skipped
Declaration
public bool CompareTable { get; }
Property Value
Type | Description |
---|---|
bool |
PropertiesToIgnore
A list of columns that should not be included in any comparrison.
This can be used to skip random fields that are not important for a comparrison. For instance the HashedPassword is skipped in internal testing as it contains the ID as part of the salt for the hash which is always different
Declaration
public string[] PropertiesToIgnore { get; }
Property Value
Type | Description |
---|---|
string[] |
TableComparisonFilter
Return null to compare all data in the table as normal.
Return a valid QueryableExecuter to alter the comparrison to just a subset of records that should be compared by default
Declaration
public QueryableFilter TableComparisonFilter { get; }
Property Value
Type | Description |
---|---|
QueryableFilter |