Created
February 6, 2018 06:55
-
-
Save gmartinezsan/cc67fdacb654ee958fe28e5ca9b2ba7d 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 BooksCatalogDbContext : IdentityDbContext | |
{ | |
public BooksCatalogDbContext(DbContextOptions<BooksCatalogDbContext> options) | |
: base(options) | |
{ | |
} | |
public DbSet<Book> Books { get; set; } | |
public DbSet<Category> Categories { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment