using JdeScoping.Core.Models.Infrastructure;
namespace JdeScoping.Core.Interfaces;
///
/// Data sync operations for LotFinder SQL Server cache database.
///
public partial interface ILotFinderRepository
{
///
/// Gets the latest data update record per table/type combination.
///
/// Cancellation token.
/// Latest data updates.
Task> GetLastDataUpdatesAsync(CancellationToken ct = default);
///
/// Gets all data update records within a date range.
///
/// Start of range (inclusive).
/// End of range (inclusive, end of day).
/// Cancellation token.
/// Data updates within the range.
Task> GetDataUpdatesInRangeAsync(DateTime minDt, DateTime maxDt, CancellationToken ct = default);
}