แก้สมัครสอบ
This commit is contained in:
parent
afc0cd830c
commit
07903d3b67
30 changed files with 3471 additions and 771 deletions
|
|
@ -65,6 +65,9 @@ builder.Host.UseSerilog();
|
|||
var examConnection = builder.Configuration.GetConnectionString("ExamConnection");
|
||||
builder.Services.AddDbContext<ApplicationDbContext>(options =>
|
||||
options.UseMySql(examConnection, ServerVersion.AutoDetect(examConnection)));
|
||||
var orgConnection = builder.Configuration.GetConnectionString("OrgConnection");
|
||||
builder.Services.AddDbContext<OrgDbContext>(options =>
|
||||
options.UseMySql(orgConnection, ServerVersion.AutoDetect(orgConnection)));
|
||||
var defaultConnection = builder.Configuration.GetConnectionString("DefaultConnection");
|
||||
builder.Services.AddDbContext<MetadataDbContext>(options =>
|
||||
options.UseMySql(defaultConnection, ServerVersion.AutoDetect(defaultConnection)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue