-
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
Use the new .NET Standard 2.1 ADO.NET async APIs everywhere #15917
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-enhancement
Milestone
Comments
ajcvickers
added a commit
that referenced
this issue
Jun 25, 2019
Registration of interceptors is now command and moved to core: ```C# protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { optionsBuilder .UseSqlite("DataSource=Test.db") .AddInterceptors(new MyRelationalInterceptor(), new MyLoggingInterceptor()); } ``` Creating chains (essentially multi-dispatch) is handled automatically, with a mechanism for new interceptors to integrate with the functionality. Also, added a lot of async paths that will be needed for new ADO.NET async methods. Part of #15917
ajcvickers
added a commit
that referenced
this issue
Jun 25, 2019
Registration of interceptors is now command and moved to core: ```C# protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { optionsBuilder .UseSqlite("DataSource=Test.db") .AddInterceptors(new MyRelationalInterceptor(), new MyLoggingInterceptor()); } ``` Creating chains (essentially multi-dispatch) is handled automatically, with a mechanism for new interceptors to integrate with the functionality. Also, added a lot of async paths that will be needed for new ADO.NET async methods. Part of #15917
ajcvickers
added a commit
that referenced
this issue
Jun 26, 2019
Registration of interceptors is now command and moved to core: ```C# protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { optionsBuilder .UseSqlite("DataSource=Test.db") .AddInterceptors(new MyRelationalInterceptor(), new MyLoggingInterceptor()); } ``` Creating chains (essentially multi-dispatch) is handled automatically, with a mechanism for new interceptors to integrate with the functionality. Also, added a lot of async paths that will be needed for new ADO.NET async methods. Part of #15917
ajcvickers
added a commit
that referenced
this issue
Jun 26, 2019
Registration of interceptors is now command and moved to core: ```C# protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { optionsBuilder .UseSqlite("DataSource=Test.db") .AddInterceptors(new MyRelationalInterceptor(), new MyLoggingInterceptor()); } ``` Creating chains (essentially multi-dispatch) is handled automatically, with a mechanism for new interceptors to integrate with the functionality. Also, added a lot of async paths that will be needed for new ADO.NET async methods. Part of #15917
ajcvickers
added
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
and removed
blocked
labels
Jul 3, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-enhancement
Some missing ADO.NET async APIs have been added to .NET Core 3.0, and will hopefully make it into .NET Standard 2.1 soon. When that happens we need to go over our code and make sure we're calling the ADO.NET async versions from our own async methods.
Note: this should include using IAsyncDisposable.
The text was updated successfully, but these errors were encountered: