persistence/Persistence/Repositories/AbstractTimeSeriesDataRepository.cs

31 lines
851 B
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, new()
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>> 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();
}
}