mirror of
https://github.com/fiodarsazanavets/aspire-13-examples.git
synced 2026-06-21 12:23:10 +00:00
14 lines
321 B
C#
14 lines
321 B
C#
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; }
|
|
}
|