persistence/Persistence/Repositories/ITimeSeriesDataRepository.cs

20 lines
638 B
C#
Raw Normal View History

using Persistence.Models;
namespace Persistence.Repositories;
2024-10-31 15:01:12 +05:00
/// <summary>
2024-11-02 12:05:12 +05:00
/// Интерфейс по работе с временными данными
2024-10-31 15:01:12 +05:00
/// </summary>
/// <typeparam name="TDto"></typeparam>
2024-11-21 17:02:36 +05:00
public interface ITimeSeriesDataRepository<TDto> : ISyncRepository<TDto>, ITimeSeriesBaseRepository<TDto>
where TDto : class, ITimeSeriesAbstractDto, new()
2024-10-31 15:01:12 +05:00
{
2024-11-01 12:26:14 +05:00
/// <summary>
/// Добавление записей
/// </summary>
/// <param name="dtos"></param>
/// <param name="token"></param>
/// <returns></returns>
Task<int> InsertRange(IEnumerable<TDto> dtos, CancellationToken token);
2024-10-31 15:01:12 +05:00
}