SqlCommand
SqlCommand()
SqlCommand(String)
SqlCommand(String, SqlConnection)
SqlCommand(String, SqlConnection, SqlTransaction)
SqlCommand(String, SqlConnection, SqlTransaction, SqlCommandColumnEncryptionSetting)
ColumnEncryptionSetting
CommandText
CommandTimeout
CommandType
Connection
DbConnection
DbParameterCollection
DbTransaction
DesignTimeVisible
Notification
NotificationAutoEnlist
Parameters
Transaction
UpdatedRowSource
BeginExecuteNonQuery()
BeginExecuteNonQuery(AsyncCallback, Object)
BeginExecuteReader()
BeginExecuteReader(CommandBehavior)
BeginExecuteReader(AsyncCallback, Object)
BeginExecuteReader(AsyncCallback, Object, CommandBehavior)
BeginExecuteXmlReader()
BeginExecuteXmlReader(AsyncCallback, Object)
Cancel()
Clone()
CreateDbParameter()
CreateParameter()
Dispose(Boolean)
EndExecuteNonQuery(IAsyncResult)
EndExecuteReader(IAsyncResult)
EndExecuteXmlReader(IAsyncResult)
ExecuteDbDataReader(CommandBehavior)
ExecuteDbDataReaderAsync(CommandBehavior, CancellationToken)
ExecuteNonQuery()
ExecuteNonQueryAsync(CancellationToken)
ExecuteReader()
ExecuteReader(CommandBehavior)
ExecuteReaderAsync()
ExecuteReaderAsync(CancellationToken)
ExecuteReaderAsync(CommandBehavior)
ExecuteReaderAsync(CommandBehavior, CancellationToken)
ExecuteScalar()
ExecuteScalarAsync(CancellationToken)
ExecuteXmlReader()
ExecuteXmlReaderAsync()
ExecuteXmlReaderAsync(CancellationToken)
Prepare()
ResetCommandTimeout()
StatementCompleted
ExecuteNonQueryAsync(SqlCommand)
ExecuteNonQueryAsync(SqlCommand)
ExecuteNonQueryAsync(SqlCommand, CancellationToken)
ExecuteNonQueryAsync(SqlCommand, CancellationToken)
ExecuteReaderAsync(SqlCommand)
ExecuteReaderAsync(SqlCommand)
ExecuteReaderAsync(SqlCommand, CancellationToken)
ExecuteReaderAsync(SqlCommand, CancellationToken)
ExecuteXmlReaderAsync(SqlCommand)
ExecuteXmlReaderAsync(SqlCommand)
ExecuteXmlReaderAsync(SqlCommand, CancellationToken)
ExecuteXmlReaderAsync(SqlCommand, CancellationToken)
net9.0
namespace System.Data.SqlClient
{
[Obsolete("Use the Microsoft.Data.SqlClient package instead.")]
public sealed class SqlCommand : DbCommand, ICloneable
{
public SqlTransaction Transaction { get; set; }
}
}
| NetFx Compat Lab | 8.1 % Reference this API 1.8 % Get property 7.6 % Set property |
|---|---|
| nuget.org | 0.0 % Reference this API 0.0 % Get property 0.0 % Set property |
| Upgrade Planner | 0.7 % Reference this API 0.1 % Get property 0.7 % Set property |
| .NET | 5.06.07.08.09.010.011.0 |
| .NET Core | 1.01.12.02.12.23.03.1 |
| .NET Framework | 1.01.12.03.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
| .NET Standard | 1.21.31.41.51.62.02.1 |
Information specific to net9.0 | |
| Assemblies | System.Data.SqlClient , Version=4.6.1.6, PublicKeyToken=b03f5f7f11d50a3a System.Data.SqlClient , Version=5.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
| Referencing | Your project needs a package reference to |
| Package | System.Data.SqlClient (4.9.1) net8.0 |
| Platform Restrictions | The property getter is supported on all platforms. The property setter is supported on all platforms. |
- Built-in API
- Package-provided API