VladimirReshetnikov / SqlClient

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

Instantiate SqlConnectionX via SqlConnection #1

Open VladimirReshetnikov opened 3 months ago

VladimirReshetnikov commented 3 months ago

\src\Microsoft.Data.SqlClient\netcore\src\Microsoft\Data\SqlClientX\SqlConnectionX.cs declared a new internal class Microsoft.Data.SqlClientX.SqlConnectionX, which contain a new implementation (under active development) of a SQL connection. But the class publicly exposed via API is still Microsoft.Data.SqlClient.SqlConnection declared in \src\Microsoft.Data.SqlClient\netcore\src\Microsoft\Data\SqlClient\SqlConnection.cs, which will hold a reference to the internal class and delegate all method calls through it. Implement instantiation of Microsoft.Data.SqlClientX.SqlConnectionX, and a reference to it from Microsoft.Data.SqlClient.SqlConnection. Other classes that one might need for this task are SqlDataSourceBuilder, SqlDataSource, SqlConnector, UnpooledDataSource, and PoolingDataSource.

VladimirReshetnikov commented 3 months ago

@mentatbot Please create a PR

mentatbot[bot] commented 3 months ago

I will start working on this issue