Created
April 12, 2019 21:38
-
-
Save Rudyzio/30a16039dae25dd6aa004196d3d07e1d 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
public class ApplicationDbContext : DbContext | |
{ | |
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : base(options) { } | |
public virtual DbSet<User> Users { get; set; } | |
public virtual DbSet<Recipe> Recipes { get; set; } | |
public virtual DbSet<Ingredient> Ingredients { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment