Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. namespace library.Data
  2. {
  3. public class LibraryContext : DbContext
  4. {
  5. public LibraryContext(DbContextOptions<LibraryContext> options) : base(options)
  6. {
  7. }
  8.  
  9. public DbSet<Book> Books { get; set; }
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement