Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. using Microsoft.EntityFrameworkCore;
  2.  
  3. namespace RazorPagesHeroes.Models
  4. {
  5. public class RazorPagesHeroContext : DbContext
  6. {
  7. public RazorPagesHeroContext (DbContextOptions<RazorPagesHeroContext> options)
  8. : base(options)
  9. {
  10. }
  11.  
  12. public DbSet<RazorPagesHeroes.Models.Hero> Hero { get; set; }
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement