Inject DbContextOptions vs DbContext in a repository EF Core

前端 未结 0 1653
礼貌的吻别
礼貌的吻别 2021-02-05 19:33

I have the StudentDbContext

public class StudentDbContext : DbContext
{
    public StudentDbContext()
    {
    }

    public StudentDbContext(DbContextOptions<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题