-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Add correlation ID for DbContext
…
#16290
Add Add correlation ID for DbContext
…
#16290
Conversation
2407886
to
b50158d
Compare
b50158d
to
cb0bc1b
Compare
cb0bc1b
to
2a3a0e1
Compare
Added another commit that uses these IDs are part of improving testing for interceptors with/without |
@AndriySvyryd Can you take another look at this--I made significant changes. |
@@ -944,7 +944,7 @@ public async Task It_throws_object_disposed_exception(bool async) | |||
await Assert.ThrowsAsync<ObjectDisposedException>(() => context.FindAsync(typeof(Random), 77).AsTask()); | |||
|
|||
var methodCount = typeof(DbContext).GetMethods(BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly).Count(); | |||
var expectedMethodCount = 42; | |||
var expectedMethodCount = 43; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😆
6d7e175
to
fd698fa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great.
fd698fa
to
c55ee41
Compare
c55ee41
to
d036eb8
Compare
Add Add correlation ID for
DbContext
like we have forDbCommand
andDbConnection
Based on more feedback, now one ID and a lease number.
Fixes #16201
Better test coverage for interceptors and Diagnostics registered at the same time
Fixes #16352