Added migration tool
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using System.Threading.Channels;
|
||||
using HaDbMigration.Models;
|
||||
|
||||
namespace HaDbMigration.Services.Interfaces;
|
||||
|
||||
public interface ISqliteReaderService
|
||||
{
|
||||
Task ReadTableAsync(
|
||||
TableDescriptor table,
|
||||
ChannelWriter<IReadOnlyList<object?[]>> writer,
|
||||
CancellationToken cancellationToken);
|
||||
|
||||
Task<long> GetRowCountAsync(string tableName, CancellationToken cancellationToken);
|
||||
}
|
||||
Reference in New Issue
Block a user