using Microsoft.EntityFrameworkCore; using System; using Repository.Entiies; namespace Repository { public class TeamDataContext : DbContext { protected override void OnConfiguring(DbContextOptionsBuilder options) { options.EnableSensitiveDataLogging(); var connetionString = $"Data Source={AppDomain.CurrentDomain.BaseDirectory}data.db"; options.UseSqlite(connetionString).UseQueryTrackingBehavior(QueryTrackingBehavior.NoTracking); base.OnConfiguring(options); } public DbSet ProductResult { get; set; } public DbSet ParamLogs { get; set; } public DbSet StatisticsLogs { get; set; } public DbSet Informations { get; set; } } }