Answers for "asp.net core models not showing up in database"

C#
0

asp.net core models not showing up in database

using Microsoft.EntityFrameworkCore;
using MvcMovie.Models;

namespace MvcMovie.Data
{
    public class MvcMovieContext : DbContext
    {
        public MvcMovieContext (DbContextOptions<MvcMovieContext> options)
            : base(options)
        {
        }

        public DbSet<Movie> Movie { get; set; }
    }
}
Posted by: Guest on April-28-2021

Code answers related to "asp.net core models not showing up in database"

C# Answers by Framework

Browse Popular Code Answers by Language