dotnet / SqlClient

Microsoft.Data.SqlClient provides database connectivity to SQL Server for .NET applications.
MIT License
817 stars 271 forks source link

Adding DbDataSource Scaffolding #2600

Closed mdaigle closed 1 week ago

mdaigle commented 1 week ago

This PR adds the SqlDataSource and SqlInternalConnectionX classes and establishes the basic relationships between them for connection creation and disposal. I do not go into the internals of SqlInternalConnectionX. Next PR will add a basic data source implementation.

See the image below for an overview of the class architecture. Green items are new. White items are existing, from the System.Data.Common library.

SqlClient Connection Pool (8)