31 lines
851 B
C#
31 lines
851 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using Persistence.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Persistence.Repositories;
|
|
public abstract class AbstractTimeSeriesDataRepository<TEntity, TDto> : ITimeSeriesDataRepository<TDto>
|
|
where TDto : class, new()
|
|
where TEntity : class, IChangeLogAbstract
|
|
{
|
|
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)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|