2024-11-12 13:36:09 +05:00
|
|
|
|
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>
|
2024-11-12 13:36:09 +05:00
|
|
|
|
/// <typeparam name="TDto"></typeparam>
|
2024-11-21 17:02:36 +05:00
|
|
|
|
public interface ITimeSeriesDataRepository<TDto> : ISyncRepository<TDto>, ITimeSeriesBaseRepository<TDto>
|
2024-11-14 15:17:43 +05:00
|
|
|
|
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
|
|
|
|
}
|