Skip to content
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

Initial batch of nominal types for DiagnosticSource events #8351

Merged
merged 1 commit into from
May 4, 2017

Conversation

ajcvickers
Copy link
Contributor

@ajcvickers ajcvickers commented May 1, 2017

Issue #7939, #8007

  • This covers most of the relational events.
  • Namespace is Microsoft.EntityFrameworkCore.Diagnostics (Didn't use xxx.xxx.DiagnosticSource as a namespace because then there is a namespace with the same name as a class causing resolution niceness issues.)
  • Created something of a hierarchy where it made sense so that common code can be used by consumers in some places and to be a bit more DRY.
  • Tried to be somewhat consistent in ordering, etc.
  • Made sure ConnectionId and CommandId are exposed where available, specifically including on DataReaderDisposing as requested in Feature request: add instanceId (Guid) to RelationalDataReader for DiagnosticSource #8007.

Issue #7938, #8007

* This covers most of the relational events.
* Namespace is Microsoft.EntityFrameworkCore.DiagnosticSourceData (Didn't use xxx.xxx.DiagnosticSource as a namespace because then there is a namespace with the same name as a class causing resolution niceness issues.)
* Created something of a hierarchy where it made sense so that common code can be used by consumers in some places and to be a bit more DRY.
* Tried to be somewhat consistent in ordering, etc.
* Made sure ConnectionId and CommandId are exposed where available, specifically including on DataReaderDisposing as requested in #8007.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants