Created
October 1, 2017 01:11
-
-
Save tonysneed/4d4a0bea3f4c4a1b2f87fe650eb03508 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 NorthwindSlimContext : DbContext | |
{ | |
public NorthwindSlimContext(DbContextOptions<NorthwindSlimContext> options) : base(options) { } | |
public DbSet<Category> Categories { get; set; } | |
public DbSet<Customer> Customers { get; set; } | |
public DbSet<Order> Orders { get; set; } | |
public DbSet<OrderDetail> OrderDetails { get; set; } | |
public DbSet<Product> Products { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment