mirror of
https://github.com/fiodarsazanavets/aspire-13-examples.git
synced 2026-06-20 12:23:14 +00:00
Add Aspire upgrade code samples
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using AspireApp.ApiService.Models;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace AspireApp.ApiService;
|
||||
|
||||
public class WeatherDbContext : DbContext
|
||||
{
|
||||
public WeatherDbContext(DbContextOptions<WeatherDbContext> options) : base(options)
|
||||
{
|
||||
}
|
||||
|
||||
public DbSet<WeatherForecast> WeatherForecasts { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user