❔ builder.Services.AddDbContext<>
The 'options' here, where did it exactly come from, and we were also able to access it by putting a dot (options.)? Is it something like the callback in JavaScript?
5 Replies
It comes from the lambda
Because
SomeOptions
is a reference type, this is roughly what happens:it is precisely like a callback in JavaScript
thanks a lot
got it thanks
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.