persistence/Persistence/Repositories/AbstractTimeSeriesDataRepository.cs

41 lines
1.2 KiB
C#
Raw Normal View History

2024-11-01 12:26:14 +05:00
using Microsoft.EntityFrameworkCore;
using Persistence.Models;
using System;
2024-10-31 15:01:12 +05:00
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Persistence.Repositories;
2024-11-01 12:26:14 +05:00
public abstract class AbstractTimeSeriesDataRepository<TEntity, TDto> : ITimeSeriesDataRepository<TDto>
where TDto : class, ITimeSeriesAbstractDto
2024-11-01 12:26:14 +05:00
where TEntity : class, IChangeLogAbstract
2024-10-31 15:01:12 +05:00
{
2024-11-01 12:26:14 +05:00
private readonly DbContext dbContext;
protected AbstractTimeSeriesDataRepository(DbContext dbContext)
{
this.dbContext = dbContext;
}
public Task<IEnumerable<TDto>> GetAsync(DateTimeOffset dateBegin, DateTimeOffset dateEnd, CancellationToken token)
{
throw new NotImplementedException();
}
public Task<DatesRangeDto> GetDatesRangeAsync(CancellationToken token)
{
throw new NotImplementedException();
}
2024-11-01 12:26:14 +05:00
public Task<IEnumerable<TDto>> GetGtDate(DateTimeOffset date, CancellationToken token)
{
throw new NotImplementedException();
}
public Task<int> InsertRange(IEnumerable<TDto> dtos, CancellationToken token)
2024-10-31 15:01:12 +05:00
{
throw new NotImplementedException();
}
}