logo

Crowdly

modelBuilder.Entity<Student>() .HasOne (s => s.Grade) ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

modelBuilder.Entity<Student>()

.HasOne

(s => s.Grade)

.WithMany(g => g.Students)

.HasForeignKey(s => s.CurrentGradeId);

The above code configures ________ relationship between Student and Grade entities.

More questions like this

Want instant access to all verified answers on softserve.academy?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!