Created
August 15, 2018 07:27
-
-
Save mikebrind/679ccb91841b6d919cb1982cf032ef20 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 SampleContext : DbContext | |
{ | |
public DbSet<Order> Orders { get; set; } | |
public DbSet<OrderItem> OrderItems { get; set; } | |
public DbSet<Customer> Customers { get; set; } | |
public DbQuery<OrderHeader> OrderHeaders { get; set; } | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment