Skip to content

Instantly share code, notes, and snippets.

@dcomartin

dcomartin/SalesDbContext.cs Secret

Last active Oct 21, 2020
Embed
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
You can’t perform that action at this time.