Skip to content

Commit 3f4e486

Browse files
authored
Enhance TDS Login ClientInterfaceName field with client info (#3149)
- Moved logic to build client interface name into its own ClientInterface class. - Added tests for ClientInterface. - Reverted changes to Application Name. - Removed unnecessary SQP_PROVIDER_NAME constant.
1 parent d73bc16 commit 3f4e486

File tree

11 files changed

+1010
-9
lines changed

11 files changed

+1010
-9
lines changed

src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@
155155
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\AzureAttestationBasedEnclaveProvider.cs">
156156
<Link>Microsoft\Data\SqlClient\AzureAttestationBasedEnclaveProvider.cs</Link>
157157
</Compile>
158+
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\ClientInterface.cs">
159+
<Link>Microsoft\Data\SqlClient\ClientInterface.cs</Link>
160+
</Compile>
158161
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\ColumnEncryptionKeyInfo.cs">
159162
<Link>Microsoft\Data\SqlClient\ColumnEncryptionKeyInfo.cs</Link>
160163
</Compile>

src/Microsoft.Data.SqlClient/netfx/src/Microsoft.Data.SqlClient.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,9 @@
373373
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\AzureAttestationBasedEnclaveProvider.cs">
374374
<Link>Microsoft\Data\SqlClient\AzureAttestationBasedEnclaveProvider.cs</Link>
375375
</Compile>
376+
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\ClientInterface.cs">
377+
<Link>Microsoft\Data\SqlClient\ClientInterface.cs</Link>
378+
</Compile>
376379
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\ColumnEncryptionKeyInfo.cs">
377380
<Link>Microsoft\Data\SqlClient\ColumnEncryptionKeyInfo.cs</Link>
378381
</Compile>

0 commit comments

Comments
 (0)