Generating connection string contains logged in user id

前端 未结 0 1351
予麋鹿
予麋鹿 2020-11-28 20:16

How can I get logged in user id in Data Context class? The user id is always null because the DbContext constructor executing before authentication pipeline

I need to

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