7.1.0-preview1.26124.5
5 May 26
Toggle Dropdown
Version 7
7.1.0-preview3.26238.4
27 Aug 26
7.1.0-preview2.26190.5
10 Jul 26
7.1.0-preview1.26124.5
5 May 26
7.0.2
25 Jun 26
7.0.1
24 Apr 26
7.0.0
17 Mar 26
7.0.0-preview4.26064.3
5 Mar 26
7.0.0-preview3.25342.7
8 Dec 25
7.0.0-preview2.25289.6
16 Oct 25
7.0.0-preview1.25257.1
14 Sep 25
Compare to version...
with 7.0.2
Toggle Dropdown
Version 7
7.1.0-preview3.26238.4
27 Aug 26
7.1.0-preview2.26190.5
10 Jul 26
7.1.0-preview1.26124.5
5 May 26
7.0.2
25 Jun 26
7.0.1
24 Apr 26
7.0.0
17 Mar 26
7.0.0-preview4.26064.3
5 Mar 26
7.0.0-preview3.25342.7
8 Dec 25
7.0.0-preview2.25289.6
16 Oct 25
7.0.0-preview1.25257.1
14 Sep 25
Download Package
Open in NuGet
<
PackageReference
Include
=
"Microsoft.Data.SqlClient"
Version
=
"7.1.0-preview1.26124.5"
/>
API Differences between 7.1.0-preview1.26124.5 and 7.0.2
53
Additions
4
Removals
Microsoft.Data.SqlClient
public
class
SqlBatch
:
IAsyncDisposable
,
IDisposable
public
SqlBatchCommandCollection
BatchCommands
{
get
; }
public
List
<
SqlBatchCommand
>
Commands
{
get
; }
public
SqlConnection
Connection
{
get
;
set
; }
protected
virtual
DbConnection
DbConnection
{
get
;
protected set
; }
protected
virtual
DbTransaction
DbTransaction
{
get
;
protected set
; }
public
int
Timeout
{
get
;
set
; }
public
SqlTransaction
Transaction
{
get
;
set
; }
public
SqlBatch
()
public
SqlBatch
(
SqlConnection
connection
,
SqlTransaction
transaction
=
null
)
public
void
Cancel
()
public
void
Dispose
()
public
virtual
ValueTask
DisposeAsync
()
protected
virtual
DbDataReader
ExecuteDbDataReader
(
CommandBehavior
behavior
)
protected
virtual
Task
<
DbDataReader
>
ExecuteDbDataReaderAsync
(
CommandBehavior
behavior
,
CancellationToken
cancellationToken
)
public
int
ExecuteNonQuery
()
public
Task
<
int
>
ExecuteNonQueryAsync
(
CancellationToken
cancellationToken
=
default
)
public
SqlDataReader
ExecuteReader
()
public
Task
<
SqlDataReader
>
ExecuteReaderAsync
(
CancellationToken
cancellationToken
=
default
)
public
object
ExecuteScalar
()
public
Task
<
object
>
ExecuteScalarAsync
(
CancellationToken
cancellationToken
=
default
)
public
void
Prepare
()
public
Task
PrepareAsync
(
CancellationToken
cancellationToken
=
default
)
public
class
SqlBatchCommand
public
bool
CanCreateParameter
{
get
;
set
; }
public
SqlCommandColumnEncryptionSetting
ColumnEncryptionSetting
{
get
;
set
; }
public
CommandBehavior
CommandBehavior
{
get
;
set
; }
public
string
CommandText
{
get
;
set
; }
public
CommandType
CommandType
{
get
;
set
; }
protected
virtual
DbParameterCollection
DbParameterCollection
{
get
; }
public
SqlParameterCollection
Parameters
{
get
; }
public
int
RecordsAffected
{
get
; }
public
SqlBatchCommand
()
public
SqlBatchCommand
(
string
commandText
,
CommandType
commandType
=
1
,
IEnumerable
<
SqlParameter
>
parameters
=
null
,
SqlCommandColumnEncryptionSetting
columnEncryptionSetting
=
0
)
public
DbParameter
CreateParameter
()
public
class
SqlBatchCommandCollection
:
ICollection
<
SqlBatchCommand
>,
IEnumerable
<
SqlBatchCommand
>,
IEnumerable
,
IList
<
SqlBatchCommand
>
public
int
Count
{
get
; }
public
bool
IsReadOnly
{
get
; }
public
SqlBatchCommand
this
[
int
index
] {
get
;
set
; }
public
SqlBatchCommandCollection
()
public
void
Add
(
SqlBatchCommand
item
)
public
void
Clear
()
public
bool
Contains
(
SqlBatchCommand
item
)
public
void
CopyTo
(
SqlBatchCommand
[]
array
,
int
arrayIndex
)
public
int
IndexOf
(
SqlBatchCommand
item
)
public
void
Insert
(
int
index
,
SqlBatchCommand
item
)
public
bool
Remove
(
SqlBatchCommand
item
)
public
void
RemoveAt
(
int
index
)
public
sealed
class
SqlBulkCopy
:
IDisposable
public
void
WriteToServer
(
DataRow
[]
rows
)
public
void
WriteToServer
(
DataRow
[]
rows
)
public
sealed
class
SqlConnectionEncryptOption
public
static
SqlConnectionEncryptOption
op_Implicit
(
bool
value
)
public
static
SqlConnectionEncryptOption
op_Implicit
(
bool
value
)
public
sealed
class
SqlErrorCollection
:
ICollection
,
IEnumerable
public
void
CopyTo
(
Array
array
,
int
index
)
public
void
CopyTo
(
Array
array
,
int
index
)
public
sealed
class
SqlException
:
DbException
public
SqlBatchCommand
BatchCommand
{
get
; }
public
abstract
class
SqlRetryLogicBaseProvider
public
abstract
Task
<
TResult
>
ExecuteAsync
<
TResult
>(
object
sender
,
Func
<
Task
<
TResult
>>
function
,
CancellationToken
cancellationToken
=
default
)
public
abstract
Task
<
TResult
>
ExecuteAsync
<
TResult
>(
object
sender
,
Func
<
Task
<
TResult
>>
function
,
CancellationToken
cancellationToken
=
default
)