17 lines
496 B
C#
17 lines
496 B
C#
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;");
|
|
}
|
|
}
|
|
}
|