21 lines
691 B
C#
21 lines
691 B
C#
using DD.Persistence.Models;
|
||
using DD.Persistence.ModelsAbstractions;
|
||
|
||
namespace DD.Persistence.Repositories;
|
||
|
||
/// <summary>
|
||
/// Интерфейс по работе с временными данными
|
||
/// </summary>
|
||
/// <typeparam name="TDto"></typeparam>
|
||
public interface ITimestampedValuesRepository<TDto> : ISyncRepository<TDto>, ITimeSeriesBaseRepository
|
||
where TDto : class, ITimestampAbstractDto, new()
|
||
{
|
||
/// <summary>
|
||
/// Добавление записей
|
||
/// </summary>
|
||
/// <param name="dtos"></param>
|
||
/// <param name="token"></param>
|
||
/// <returns></returns>
|
||
Task<int> AddRange(IEnumerable<TimestampedSetDto> dtos, CancellationToken token);
|
||
}
|