Skip to content

Commit 7583486

Browse files
authored
Move into Shared for SqlCommandBuilder.cs (#1284)
1 parent 7305c1c commit 7583486

File tree

5 files changed

+111
-458
lines changed

5 files changed

+111
-458
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,9 @@
241241
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlColumnEncryptionKeyStoreProvider.cs">
242242
<Link>Microsoft\Data\SqlClient\SqlColumnEncryptionKeyStoreProvider.cs</Link>
243243
</Compile>
244+
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlCommandBuilder.cs">
245+
<Link>Microsoft\Data\SqlClient\SqlCommandBuilder.cs</Link>
246+
</Compile>
244247
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlCommandSet.cs">
245248
<Link>Microsoft\Data\SqlClient\SqlCommandSet.cs</Link>
246249
</Compile>
@@ -510,7 +513,6 @@
510513
<Compile Include="Microsoft\Data\SqlClient\SqlClientDiagnosticListenerExtensions.cs" />
511514
<Compile Include="Microsoft\Data\SqlClient\SqlClientFactory.cs" />
512515
<Compile Include="Microsoft\Data\SqlClient\SqlCommand.cs" />
513-
<Compile Include="Microsoft\Data\SqlClient\SqlCommandBuilder.cs" />
514516
<Compile Include="Microsoft\Data\SqlClient\SqlConnection.cs" />
515517
<Compile Include="Microsoft\Data\SqlClient\SqlConnectionFactory.cs" />
516518
<Compile Include="Microsoft\Data\SqlClient\SqlConnectionHelper.cs" />

src/Microsoft.Data.SqlClient/netcore/src/Resources/StringsHelper.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ internal class ResourceNames
158158
internal const string TCE_DbConnectionString_AttestationProtocol = @"Specifies an attestation protocol for its corresponding enclave attestation service.";
159159
internal const string TCE_DbConnectionString_IPAddressPreference = @"Specifies an IP address preference when connecting to SQL instances.";
160160
internal const string SqlConnection_ServerProcessId = @"Server Process Id (SPID) of the active connection.";
161+
internal const string SqlCommandBuilder_DataAdapter = @"The DataAdapter for which to automatically generate SqlCommands.";
161162
}
162163
}
163164
}

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,9 @@
312312
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlColumnEncryptionKeyStoreProvider.cs">
313313
<Link>Microsoft\Data\SqlClient\SqlColumnEncryptionKeyStoreProvider.cs</Link>
314314
</Compile>
315+
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlCommandBuilder.cs">
316+
<Link>Microsoft\Data\SqlClient\SqlCommandBuilder.cs</Link>
317+
</Compile>
315318
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlCommandSet.cs">
316319
<Link>Microsoft\Data\SqlClient\SqlCommandSet.cs</Link>
317320
</Compile>
@@ -489,7 +492,6 @@
489492
<Compile Include="Microsoft\Data\SqlClient\SqlColumnEncryptionCspProvider.cs" />
490493
<Compile Include="Microsoft\Data\SqlClient\SqlColumnEncryptionEnclaveProvider.cs" />
491494
<Compile Include="Microsoft\Data\SqlClient\SqlCommand.cs" />
492-
<Compile Include="Microsoft\Data\SqlClient\SqlCommandBuilder.cs" />
493495
<Compile Include="Microsoft\Data\SqlClient\SqlConnection.cs" />
494496
<Compile Include="Microsoft\Data\SqlClient\SqlConnectionFactory.cs" />
495497
<Compile Include="Microsoft\Data\SqlClient\SqlConnectionHelper.cs" />

0 commit comments

Comments
 (0)