Share via


SqliteCommand Constructors

Definition

Overloads

SqliteCommand()

Initializes a new instance of the SqliteCommand class.

SqliteCommand(String)

Initializes a new instance of the SqliteCommand class.

SqliteCommand(String, SqliteConnection)

Initializes a new instance of the SqliteCommand class.

SqliteCommand(String, SqliteConnection, SqliteTransaction)

Initializes a new instance of the SqliteCommand class.

SqliteCommand()

Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs

Initializes a new instance of the SqliteCommand class.

public SqliteCommand ();
Public Sub New ()

Applies to

SqliteCommand(String)

Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs

Initializes a new instance of the SqliteCommand class.

public SqliteCommand (string commandText);
public SqliteCommand (string? commandText);
new Microsoft.Data.Sqlite.SqliteCommand : string -> Microsoft.Data.Sqlite.SqliteCommand
Public Sub New (commandText As String)

Parameters

commandText
String

The SQL to execute against the database.

Applies to

SqliteCommand(String, SqliteConnection)

Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs

Initializes a new instance of the SqliteCommand class.

public SqliteCommand (string commandText, Microsoft.Data.Sqlite.SqliteConnection connection);
public SqliteCommand (string? commandText, Microsoft.Data.Sqlite.SqliteConnection? connection);
new Microsoft.Data.Sqlite.SqliteCommand : string * Microsoft.Data.Sqlite.SqliteConnection -> Microsoft.Data.Sqlite.SqliteCommand
Public Sub New (commandText As String, connection As SqliteConnection)

Parameters

commandText
String

The SQL to execute against the database.

connection
SqliteConnection

The connection used by the command.

Applies to

SqliteCommand(String, SqliteConnection, SqliteTransaction)

Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs
Source:
SqliteCommand.cs

Initializes a new instance of the SqliteCommand class.

public SqliteCommand (string commandText, Microsoft.Data.Sqlite.SqliteConnection connection, Microsoft.Data.Sqlite.SqliteTransaction transaction);
public SqliteCommand (string? commandText, Microsoft.Data.Sqlite.SqliteConnection? connection, Microsoft.Data.Sqlite.SqliteTransaction? transaction);
new Microsoft.Data.Sqlite.SqliteCommand : string * Microsoft.Data.Sqlite.SqliteConnection * Microsoft.Data.Sqlite.SqliteTransaction -> Microsoft.Data.Sqlite.SqliteCommand
Public Sub New (commandText As String, connection As SqliteConnection, transaction As SqliteTransaction)

Parameters

commandText
String

The SQL to execute against the database.

connection
SqliteConnection

The connection used by the command.

transaction
SqliteTransaction

The transaction within which the command executes.

Applies to