using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;

namespace FirstEfCoreSample.Models
{
    public  class BloggingContext : DbContext
    {
        public BloggingContext(DbContextOptions<BloggingContext> options): base(options)
        {
        }

        public virtual DbSet<Blog> Blogs { get; set; }
        public virtual DbSet<Post> Posts { get; set; }
    }
}
