fix Синхронизации
This commit is contained in:
16
PARR.AIHIT/AIHIT/Context/AIHContext.cs
Normal file
16
PARR.AIHIT/AIHIT/Context/AIHContext.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using PARR.AIHIT.Models;
|
||||
|
||||
namespace PARR.AIHIT.Context
|
||||
{
|
||||
internal class AIHContext : DbContext
|
||||
{
|
||||
public DbSet<EK> EKs { get; set; }
|
||||
public AIHContext() { }
|
||||
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||
{
|
||||
optionsBuilder.UseSqlServer(@"Data Source=10.248.19.97; Initial Catalog=mao2;User ID=awhit-ipp-parr;pwd=ET3h$9y1LH#D;TrustServerCertificate=true;");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user