Demka_kur/Hardik/Conect/Conector.cs

13 lines
327 B
C#
Raw Normal View History

2025-02-04 11:35:26 +00:00
using Microsoft.EntityFrameworkCore;
using Demka_Snova_1.Hardik.Conect.Dao;
namespace Demka_Snova_1.Hardik.Conect;
public class AppDbContext : DbContext
{
public DbSet<SotrudnikDao> sotrudnik { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder oB)
{
oB.UseSqlServer("Hoi");
}
}