Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace library.Data
- {
- public class LibraryContext : DbContext
- {
- public LibraryContext(DbContextOptions<LibraryContext> options) : base(options)
- {
- }
- public DbSet<Book> Books { get; set; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement