Skip to content

Instantly share code, notes, and snippets.

Last active October 21, 2020 22:06
What would you like to do?
using Microsoft.EntityFrameworkCore;
namespace Sales
public class SalesDbContext : DbContext
public DbSet<Order> Orders { get; set; }
public DbSet<ProductModel> Products { get; set; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment