builder.Services.AddDbContext<ApplicationDbContext>(options => options.UseSqlServer(
    builder.Configuration.GetConnectionString("DefaultConnection")
    ));


DB 커넥션 맺는 부분인데


나는 addDbContext 함수안에 들어가는 options 를 한번도 정의해준적이 없거든?


options 에 근데 마우스를 올려보니 DbContextOptionsBuilder options 라고 뜨더라고


댜채 뭔 일이 일어난거임?



좃바같은 경우는

DbContextOptionsBuilder options=new DbContextOptionsBuilder();

builder.Services.AddDbContext<ApplicationDbContext>(options);


이렇게 해줘야 되잔아