We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15254cd commit 112badcCopy full SHA for 112badc
1 file changed
Program.cs
@@ -12,8 +12,7 @@
12
builder.Services.AddRazorPages();
13
14
builder.Services.AddDbContext<InventoryDbContext>(options =>
15
- //options.UseMySQL(builder.Configuration.GetConnectionString("AZURE_MYSQL_CONNECTIONSTRING"))
16
- options.UseInMemoryDatabase("TechInventoryDB")
+ options.UseMySQL(builder.Configuration.GetConnectionString("AZURE_MYSQL_CONNECTIONSTRING"))
17
);
18
19
builder.Services.AddScoped<IUnitOfWork, UnitOfWork>();
0 commit comments