SQLiteCommand Constructor(String)
Initializes a new instance of the
SQLiteCommand class with the text of the query.
The following example creates a
SQLiteCommand and sets some of its properties.
public void CreateSQLiteCommand()
{
string mySelectQuery = "SELECT * FROM Dept";
SQLiteCommand sqCommand = new SQLiteCommand(mySelectQuery);
sqCommand.FetchSize = 100;
}
Public Sub CreateSQLiteCommand()
Dim mySelectQuery As String = "SELECT * FROM Dept"
Dim sqCommand As New SQLiteCommand(mySelectQuery)
sqCommand.FetchSize = 100
End Sub