แก้สมัครสอบ
This commit is contained in:
parent
0412128380
commit
2d65213eee
56 changed files with 4297 additions and 1392 deletions
|
|
@ -77,6 +77,9 @@ BsonSerializer.RegisterSerializer(new DateTimeSerializer(BsonType.String));
|
|||
var recruitConnection = builder.Configuration.GetConnectionString("RecruitConnection");
|
||||
builder.Services.AddDbContext<ApplicationDbContext>(options =>
|
||||
options.UseMySql(recruitConnection, ServerVersion.AutoDetect(recruitConnection)), ServiceLifetime.Transient);
|
||||
var orgConnection = builder.Configuration.GetConnectionString("OrgConnection");
|
||||
builder.Services.AddDbContext<OrgDbContext>(options =>
|
||||
options.UseMySql(orgConnection, ServerVersion.AutoDetect(orgConnection)), ServiceLifetime.Transient);
|
||||
var defaultConnection = builder.Configuration.GetConnectionString("DefaultConnection");
|
||||
builder.Services.AddDbContext<MetadataDbContext>(options =>
|
||||
options.UseMySql(defaultConnection, ServerVersion.AutoDetect(defaultConnection)), ServiceLifetime.Transient);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue