2024-11-14 15:17:43 +05:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Diagnostics.Metrics;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Persistence.Database.Model;
|
|
|
|
|
public interface IPersistenceDbContext : IDisposable
|
|
|
|
|
{
|
|
|
|
|
DbSet<DataSaub> DataSaub { get; }
|
2024-11-18 09:39:24 +05:00
|
|
|
|
DbSet<Setpoint> Setpoint { get; }
|
|
|
|
|
DatabaseFacade Database { get; }
|
2024-11-14 15:17:43 +05:00
|
|
|
|
Task<int> SaveChangesAsync(CancellationToken cancellationToken);
|
|
|
|
|
}
|