SqlCommand

E827340

SqlCommand is an ADO.NET class used to define and execute SQL statements and stored procedures against a SQL Server database.

All labels observed (1)

Label Occurrences
SqlCommand canonical 3

How this entity was disambiguated

Statements (48)

Predicate Object
instanceOf ADO.NET class
class
belongsToFramework .NET 5+
linked to: .NET (5 and later)

.NET Core
.NET Framework
canBeUsedWith parameterized queries
transactions
defaultCommandTimeoutSeconds 30
definedIn System.Data.SqlClient namespace
definedInAssembly System.Data.dll
linked to: System.Data
documentationUrl https://learn.microsoft.com/dotnet/api/system.data.sqlclient.sqlcommand
hasMethod BeginExecuteNonQuery
BeginExecuteReader
BeginExecuteXmlReader
Cancel
EndExecuteNonQuery
EndExecuteReader
EndExecuteXmlReader
ExecuteNonQuery
ExecuteReader
ExecuteScalar
ExecuteXmlReader
Prepare
hasProperty CommandText
CommandTimeout
CommandType
Connection
Parameters
Transaction
UpdatedRowSource
implements IDbCommand
inheritsFrom DbCommand
introducedIn .NET Framework 1.0
linked to: .NET Framework
isPartOf ADO.NET data provider for SQL Server
requires open SqlConnection for execution
securityConsideration parameterized queries help prevent SQL injection
supports asynchronous execution
synchronous execution
supportsCommandType StoredProcedure
TableDirect
Text
threadSafety instance members are not guaranteed to be thread-safe
usedFor executing SQL statements
executing stored procedures
usedWith SQL Server database
linked to: SQL Server
uses SqlConnection
SqlParameter
SqlTransaction

How these facts were elicited

Referenced by (3)

Full triples — surface form annotated when it differs from this entity's canonical label.

ADO.NET coreClass SqlCommand
SqlTransaction associatedWith SqlCommand
SqlDataAdapter usedWith SqlCommand