Added migration tool
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using HaDbMigration.Models;
|
||||
|
||||
namespace HaDbMigration.Services.Interfaces;
|
||||
|
||||
public sealed record TableValidationResult(
|
||||
string TableName,
|
||||
long SourceRowCount,
|
||||
long TargetRowCount,
|
||||
bool IsMatch);
|
||||
|
||||
public interface IValidationService
|
||||
{
|
||||
Task<IReadOnlyList<TableValidationResult>> ValidateRowCountsAsync(
|
||||
IReadOnlyList<TableDescriptor> tables,
|
||||
CancellationToken cancellationToken);
|
||||
}
|
||||
Reference in New Issue
Block a user