❔ Question on how AddDbContext works
I have some beginner question. I'm confused about how
works.
Later in the guide, they have
Which has
works.
Later in the guide, they have
Which has
Online_WriterContext db as the input. How does the program know the correct configuration db is supposed to be if db is a fresh new instance of Online_WriterContext. How do these two code segments connect to each other?