Skip to content

Commit e17288c

Browse files
committed
Merge branch 'main' into sspi-writer
2 parents 31e3ec9 + 3d652d4 commit e17288c

39 files changed

+2198
-3610
lines changed

doc/snippets/Microsoft.Data.SqlClient/SqlDataReader.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,6 +1246,11 @@
12461246
No conversions are performed; therefore, the data retrieved must already be a 64-bit signed integer, or an exception is generated.
12471247
</remarks>
12481248
</GetSqlInt64>
1249+
<GetSqlJson>
1250+
<param name="i"></param>
1251+
<summary>Gets the value of the specified column as a <see cref="T:Microsoft.Data.SqlTypes.SqlJson"/>.</summary>
1252+
<returns>A <see cref="T:Microsoft.Data.SqlTypes.SqlJson"/> object representing the column at the given ordinal.</returns>
1253+
</GetSqlJson>
12491254
<GetSqlMoney>
12501255
<param name="i">
12511256
The zero-based column ordinal.

doc/snippets/Microsoft.Data.SqlTypes/SqlJson.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,5 @@
2424
<Value>
2525
<summary>Gets the string representation of the Json content of this <see cref="SqlJson" /> instance.</summary>
2626
</Value>
27-
<GetSqlJson>
28-
<param name="i"></param>
29-
<summary>Retrieves the column at ordinal as a <see cref="SqlJson"/>.</summary>
30-
<returns>A <see cref="SqlJson"/> object representing the column at the given ordinal.</returns>
31-
</GetSqlJson>
3227
</members>
3328
</docs>

src/Microsoft.Data.SqlClient/netcore/ref/Microsoft.Data.SqlClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ public SqlJson(System.Text.Json.JsonDocument jsonDoc) { }
116116
public static SqlJson Null => throw null;
117117
/// <include file='../../../../doc/snippets/Microsoft.Data.SqlTypes/SqlJson.xml' path='docs/members[@name="SqlJson"]/Value/*' />
118118
public string Value { get { throw null; } }
119-
/// <include file='../../../../doc/snippets/Microsoft.Data.SqlTypes/SqlJson.xml' path='docs/members[@name="SqlJson"]/GetSqlJson/*' />
120-
virtual public SqlJson GetSqlJson(int i) { throw null; }
121119
}
122120
}
123121
namespace Microsoft.Data.SqlClient
@@ -1354,6 +1352,8 @@ public override void Close() { }
13541352
public virtual System.Data.SqlTypes.SqlInt32 GetSqlInt32(int i) { throw null; }
13551353
/// <include file='../../../../doc/snippets/Microsoft.Data.SqlClient/SqlDataReader.xml' path='docs/members[@name="SqlDataReader"]/GetSqlInt64/*'/>
13561354
public virtual System.Data.SqlTypes.SqlInt64 GetSqlInt64(int i) { throw null; }
1355+
/// <include file='../../../../doc/snippets/Microsoft.Data.SqlClient/SqlDataReader.xml' path='docs/members[@name="SqlDataReader"]/GetSqlJson/*' />
1356+
virtual public Microsoft.Data.SqlTypes.SqlJson GetSqlJson(int i) { throw null; }
13571357
/// <include file='../../../../doc/snippets/Microsoft.Data.SqlClient/SqlDataReader.xml' path='docs/members[@name="SqlDataReader"]/GetSqlMoney/*'/>
13581358
public virtual System.Data.SqlTypes.SqlMoney GetSqlMoney(int i) { throw null; }
13591359
/// <include file='../../../../doc/snippets/Microsoft.Data.SqlClient/SqlDataReader.xml' path='docs/members[@name="SqlDataReader"]/GetSqlSingle/*'/>

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,6 @@
633633
<Compile Include="Common\System\NotImplemented.cs" />
634634
<Compile Include="Common\System\Threading\Tasks\TaskToApm.cs" />
635635
<Compile Include="Microsoft\Data\Common\DbConnectionOptions.cs" />
636-
<Compile Include="Microsoft\Data\SqlClient\LocalDBAPI.cs" />
637636
<Compile Include="Microsoft\Data\SqlClient\Reliability\SqlConfigurableRetryLogicManager.NetCoreApp.cs" />
638637
<Compile Include="Microsoft\Data\SqlClient\SNI\ConcurrentQueueSemaphore.cs" />
639638
<Compile Include="Microsoft\Data\SqlClient\SNI\SNIError.cs" />
@@ -787,6 +786,9 @@
787786
<Compile Include="$(CommonSourceRoot)Microsoft\Data\Sql\SqlDataSourceEnumerator.Windows.cs">
788787
<Link>Microsoft\Data\Sql\SqlDataSourceEnumerator.Windows.cs</Link>
789788
</Compile>
789+
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\LocalDBAPI.Windows.cs">
790+
<Link>Microsoft\Data\SqlClient\LocalDBAPI.Windows.cs</Link>
791+
</Compile>
790792
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\SqlColumnEncryptionCngProvider.Windows.cs">
791793
<Link>Microsoft\Data\SqlClient\SqlColumnEncryptionCngProvider.Windows.cs</Link>
792794
</Compile>
@@ -805,9 +807,7 @@
805807
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlTypes\SqlFileStream.Windows.cs">
806808
<Link>Microsoft\Data\SqlTypes\SqlFileStream.Windows.cs</Link>
807809
</Compile>
808-
809-
<Compile Include="Microsoft\Data\SqlClient\LocalDBAPI.Common.cs" />
810-
<Compile Include="Microsoft\Data\SqlClient\LocalDBAPI.Windows.cs" />
810+
811811
<Compile Include="Microsoft\Data\SqlClient\PacketHandle.Windows.cs" />
812812
<Compile Include="Microsoft\Data\SqlClient\SessionHandle.Windows.cs" />
813813
<Compile Include="Microsoft\Data\SqlClient\SNI\LocalDB.Windows.cs" />
@@ -824,9 +824,11 @@
824824
<Compile Include="$(CommonSourceRoot)Microsoft\Data\ProviderBase\DbConnectionPoolIdentity.Unix.cs">
825825
<Link>Microsoft\Data\ProviderBase\DbConnectionPoolIdentity.Unix.cs</Link>
826826
</Compile>
827+
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\LocalDBAPI.Unix.cs">
828+
<Link>Microsoft\Data\SqlClient\LocalDBAPI.Unix.cs</Link>
829+
</Compile>
827830

828831
<Compile Include="Microsoft\Data\Sql\SqlDataSourceEnumerator.Unix.cs" />
829-
<Compile Include="Microsoft\Data\SqlClient\LocalDBAPI.Unix.cs" />
830832
<Compile Include="Microsoft\Data\SqlClient\PacketHandle.Unix.cs" />
831833
<Compile Include="Microsoft\Data\SqlClient\SessionHandle.Unix.cs" />
832834
<Compile Include="Microsoft\Data\SqlClient\SNI\LocalDB.Unix.cs" />

src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/LocalDBAPI.Common.cs

Lines changed: 0 additions & 124 deletions
This file was deleted.

src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/LocalDBAPI.Windows.cs

Lines changed: 0 additions & 44 deletions
This file was deleted.

src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/LocalDBAPI.cs

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)