Created
May 22, 2021 14:58
-
-
Save dkreider/9a1082c96c8ee889a0a4330b3f9f0671 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.EntityFrameworkCore; | |
namespace BaseController | |
{ | |
public class BaseControllerDBContext : DbContext | |
{ | |
public DbSet<WeatherForecast> WeatherForecasts { get; set; } | |
public BaseControllerDBContext(DbContextOptions<BaseControllerDBContext> options) : base(options) | |
{ | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment