Microsoft.Data.Sqlite Represents the caching modes that can be used when creating a new . SQLite Shared-Cache Mode Default mode. Private-cache mode. Each connection uses a private cache. Shared-cache mode. Connections share a cache. This mode can change the behavior of transaction and table locking. Represents a SQL statement to be executed against a SQLite database. Initializes a new instance of the class. Initializes a new instance of the class. The SQL to execute against the database. Initializes a new instance of the class. The SQL to execute against the database. The connection used by the command. Initializes a new instance of the class. The SQL to execute against the database. The connection used by the command. The transaction within which the command executes. Gets or sets a value indicating how is interpreted. Only is supported. A value indicating how is interpreted. Gets or sets the SQL to execute against the database. The SQL to execute against the database. Gets or sets the connection used by the command. The connection used by the command. Gets or sets the connection used by the command. Must be a . The connection used by the command. Gets or sets the transaction within which the command executes. The transaction within which the command executes. Gets or sets the transaction within which the command executes. Must be a . The transaction within which the command executes. Gets the collection of parameters used by the command. The collection of parameters used by the command. Gets the collection of parameters used by the command. The collection of parameters used by the command. Gets or sets the wait time before terminating the attempt to execute the command. The wait time before terminating the attempt to execute the command. The timeout is used when the command is waiting to obtain a lock on the table. Gets or sets a value indicating whether the command should be visible in an interface control. A value indicating whether the command should be visible in an interface control. Gets or sets a value indicating how the results are applied to the row being updated. A value indicating how the results are applied to the row being updated. Creates a new parameter. The new parameter. Creates a new parameter. The new parameter. Creates a prepared version of the command on the database. This has no effect. Executes the against the database and returns a data reader. The data reader. A SQLite error occurs during execution. Executes the against the database and returns a data reader. A description of the results of the query and its effect on the database. Only , , , , and are supported. The data reader. A SQLite error occurs during execution. Executes the against the database and returns a data reader. A description of query's results and its effect on the database. The data reader. Executes the asynchronously against the database and returns a data reader. A task representing the asynchronous operation. SQLite does not support asynchronous execution. Use write-ahead logging instead. Write-Ahead Logging Executes the asynchronously against the database and returns a data reader. The token to monitor for cancellation requests. A task representing the asynchronous operation. SQLite does not support asynchronous execution. Use write-ahead logging instead. Write-Ahead Logging Executes the asynchronously against the database and returns a data reader. A description of query's results and its effect on the database. A task representing the asynchronous operation. SQLite does not support asynchronous execution. Use write-ahead logging instead. Write-Ahead Logging Executes the asynchronously against the database and returns a data reader. A description of query's results and its effect on the database. The token to monitor for cancellation requests. A task representing the asynchronous operation. SQLite does not support asynchronous execution. Use write-ahead logging instead. Write-Ahead Logging Executes the asynchronously against the database and returns a data reader. A description of query's results and its effect on the database. The token to monitor for cancellation requests. A task representing the asynchronous operation. Executes the against the database. The number of rows inserted, updated, or deleted. -1 for SELECT statements. A SQLite error occurs during execution. Executes the against the database and returns the result. The first column of the first row of the results, or null if no results. A SQLite error occurs during execution. Attempts to cancel the execution of the command. Does nothing. Represents a connection to a SQLite database. Initializes a new instance of the class. Initializes a new instance of the class. The string used to open the connection. Gets a handle to underlying database connection. A handle to underlying database connection. Database Connection Handle Gets or sets a string used to open the connection. A string used to open the connection. Gets the name of the current database. Always 'main'. The name of the current database. Gets the path to the database file. Will be absolute for open connections. The path to the database file. Gets the version of SQLite used by the connection. The version of SQLite used by the connection. Gets the current state of the connection. The current state of the connection. Gets or sets the transaction currently being used by the connection, or null if none. The transaction currently being used by the connection. Opens a connection to the database using the value of . A SQLite error occurs while opening the connection. Closes the connection to the database. Open transactions are rolled back. Releases any resources used by the connection and closes it. true to release managed and unmanaged resources; false to release only unmanaged resources. Creates a new command associated with the connection. The new command. The command's property will also be set to the current transaction. Creates a new command associated with the connection. The new command. Begins a transaction on the connection. The transaction. Begins a transaction on the connection. The isolation level of the transaction. The transaction. Begins a transaction on the connection. The isolation level of the transaction. Only and are supported. The transaction. Changes the current database. Not supported. The name of the database to use. Always. Enables extension loading on the connection. true to enable; false to disable Run-Time Loadable Extensions Provides a simple way to create and manage the contents of connection strings used by . Initializes a new instance of the class. Initializes a new instance of the class. The initial connection string the builder will represent. Can be null. Gets or sets the database file. The database file. Gets or sets the connection mode. The connection mode. Gets a collection containing the keys used by the connection string. A collection containing the keys used by the connection string. Gets a collection containing the values used by the connection string. A collection containing the values used by the connection string. Gets or sets the caching mode used by the connection. The caching mode used by the connection. SQLite Shared-Cache Mode Gets or sets the value associated with the specified key. The key. The value. Clears the contents of the builder. Determines whether the specified key is used by the connection string. The key to look for. true if it is use; otherwise, false. Removes the specified key and its value from the connection string. The key to remove. true if the key was used; otherwise, false. Determines whether the specified key should be serialized into the connection string. The key to check. true if it should be serialized; otherwise, false. Gets the value of the specified key if it is used. The key. The value. true if the key was used; otherwise, false. Provides methods for reading the result of a command executed against a SQLite database. Gets the depth of nesting for the current row. Always zero. The depth of nesting for the current row. Gets the number of columns in the current row. The number of columns in the current row. Gets a handle to underlying prepared statement. A handle to underlying prepared statement. Prepared Statement Object Gets a value indicating whether the data reader contains any rows. A value indicating whether the data reader contains any rows. Gets a value indicating whether the data reader is closed. A value indicating whether the data reader is closed. Gets the number of rows inserted, updated, or deleted. -1 for SELECT statements. The number of rows inserted, updated, or deleted. Gets the value of the specified column. The name of the column. The value is case-sensitive. The value. Gets the value of the specified column. The zero-based column ordinal. The value. Gets an enumerator that can be used to iterate through the rows in the data reader. The enumerator. Advances to the next row in the result set. true if there are more rows; otherwise, false. Advances to the next result set for batched statements. true if there are more result sets; otherwise, false. Closes the data reader. Returns a data table that describes the column metadata. The data table. Releases any resources used by the data reader and closes it. true to release managed and unmanaged resources; false to release only unmanaged resources. Gets the name of the specified column. The zero-based column ordinal. The name of the column. Gets the ordinal of the specified column. The name of the column. The zero-based column ordinal. Gets the declared data type name of the specified column. The storage class is returned for computed columns. The zero-based column ordinal. The data type name of the column. Due to SQLite's dynamic type system, this may not reflect the actual type of the value. Datatypes In SQLite Version 3 Gets the data type of the specified column. The zero-based column ordinal. The data type of the column. Gets a value indicating whether the specified column is . The zero-based column ordinal. true if the specified column is ; otherwise, false. Gets the value of the specified column as a . The zero-based column ordinal. The value of the column. Gets the value of the specified column as a . The zero-based column ordinal. The value of the column. Gets the value of the specified column as a . The zero-based column ordinal. The value of the column. Gets the value of the specified column as a . The zero-based column ordinal. The value of the column. Gets the value of the specified column as a . The zero-based column ordinal. The value of the column. Gets the value of the specified column as a . The zero-based column ordinal. The value of the column. Gets the value of the specified column as a . The zero-based column ordinal. The value of the column. Gets the value of the specified column as a . The zero-based column ordinal. The value of the column. Gets the value of the specified column as a . The zero-based column ordinal. The value of the column. Gets the value of the specified column as a . The zero-based column ordinal. The value of the column. Gets the value of the specified column as a . The zero-based column ordinal. The value of the column. Gets the value of the specified column as a . The zero-based column ordinal. The value of the column. Reads a stream of bytes from the specified column. Not supported. The zero-based column ordinal. The index from which to begin the read operation. The buffer into which the data is copied. The index to which the data will be copied. The maximum number of bytes to read. The actual number of bytes read. Reads a stream of characters from the specified column. Not supported. The zero-based column ordinal. The index from which to begin the read operation. The buffer into which the data is copied. The index to which the data will be copied. The maximum number of characters to read. The actual number of characters read. Gets the value of the specified column. The type of the value. The zero-based column ordinal. The value of the column. Gets the value of the specified column. The zero-based column ordinal. The value of the column. Gets the column values of the current row. An array into which the values are copied. The number of values copied into the array. Represents a SQLite error. Initializes a new instance of the class. The message to display for the exception. Can be null. The SQLite error code. Gets the SQLite error code. The SQLite error code. SQLite Result Codes Creates instances of various Microsoft.Data.Sqlite classes. The singleton instance. Creates a new command. The new command. Creates a new connection. The new connection. Creates a new connection string builder. The new connection string builder. Creates a new parameter. The new parameter. Represents the connection modes that can be used when opening a connection. Opens the database for reading and writing, and creates it if it doesn't exist. Opens the database for reading and writing. Opens the database in read-only mode. Opens an in-memory database. Represents a parameter and its value in a . Due to SQLite's dynamic type system, parameter values are not converted. Datatypes In SQLite Version 3 Initializes a new instance of the class. Initializes a new instance of the class. The name of the parameter. The value of the parameter. Can be null. Initializes a new instance of the class. The name of the parameter. The type of the parameter. Initializes a new instance of the class. The name of the parameter. The type of the parameter. The maximum size, in bytes, of the parameter. Initializes a new instance of the class. The name of the parameter. The type of the parameter. The maximum size, in bytes, of the parameter. The source column used for loading the value. Can be null. Gets or sets the type of the parameter. The type of the parameter. Due to SQLite's dynamic type system, parameter values are not converted. Datatypes In SQLite Version 3 Gets or sets the SQLite type of the parameter. The SQLite type of the parameter. Due to SQLite's dynamic type system, parameter values are not converted. Datatypes In SQLite Version 3 Gets or sets the direction of the parameter. Only is supported. The direction of the parameter. Gets or sets a value indicating whether the parameter is nullable. A value indicating whether the parameter is nullable. Gets or sets the name of the parameter. The name of the parameter. Gets or sets the maximum size, in bytes, of the parameter. The maximum size, in bytes, of the parameter. Gets or sets the source column used for loading the value. The source column used for loading the value. Gets or sets a value indicating whether the source column is nullable. A value indicating whether the source column is nullable. Gets or sets the version to use when loading the value. The version to use when loading the value. Gets or sets the value of the parameter. The value of the parameter. Due to SQLite's dynamic type system, parameter values are not converted. Datatypes In SQLite Version 3 Resets the property to its original value. Resets the property to its original value. Represents a collection of SQLite parameters. Initializes a new instance of the class. Gets the number of items in the collection. The number of items in the collection. Gets the object used to synchronize access to the collection. The object used to synchronize access to the collection. Gets a value indicating whether the collection is a fixed size. A value indicating whether the collection is a fixed size. Gets a value indicating whether the collection is read-only. A value indicating whether the collection is read-only. Gets a value indicating whether the collection is synchronized. A value indicating whether the collection is synchronized. Gets or sets the parameter at the specified index. The zero-based index of the parameter. The parameter. Gets or sets the parameter with the specified name. The name of the parameter. The parameter. Adds a parameter to the collection. The parameter to add. Must be a . The zero-based index of the parameter that was added. Adds a parameter to the collection. The parameter to add. The parameter that was added. Adds a parameter to the collection. The name of the parameter. The SQLite type of the parameter. The parameter that was added. Adds a parameter to the collection. The name of the parameter. The SQLite type of the parameter. The maximum size, in bytes, of the parameter. The parameter that was added. Adds a parameter to the collection. The name of the parameter. The SQLite type of the parameter. The maximum size, in bytes, of the parameter. The source column used for loading the value of the parameter. Can be null. The parameter that was added. Adds multiple parameters to the collection. An array of parameters to add. They must be objects. Adds multiple parameters to the collection. The parameters to add. Adds a parameter to the collection. The name of the parameter. The value of the parameter. Can be null. The parameter that was added. Removes all parameters from the collection. Gets a value indicating whether the collection contains the specified parameter. The parameter to look for. Must be a . true if the collection contains the parameter; otherwise, false. Gets a value indicating whether the collection contains the specified parameter. The parameter to look for. true if the collection contains the parameter; otherwise, false. Gets a value indicating whether the collection contains a parameter with the specified name. The name of the parameter. true if the collection contains the parameter; otherwise, false. Copies the collection to an array of parameters. The array into which the parameters are copied. Must be an array of objects. The zero-based index to which the parameters are copied. Copies the collection to an array of parameters. The array into which the parameters are copied. The zero-based index to which the parameters are copied. Gets an enumerator that iterates through the collection. The enumerator. Gets a parameter at the specified index. The zero-based index of the parameter. The parameter. Gets a parameter with the specified name. The name of the parameter. The parameter. Gets the index of the specified parameter. The parameter. Must be a . The zero-based index of the parameter. Gets the index of the specified parameter. The parameter. The zero-based index of the parameter. Gets the index of the parameter with the specified name. The name of the parameter. The zero-based index of the parameter or -1 if not found. Inserts a parameter into the collection at the specified index. The zero-based index at which the parameter should be inserted. The parameter to insert. Must be a . Inserts a parameter into the collection at the specified index. The zero-based index at which the parameter should be inserted. The parameter to insert. Removes a parameter from the collection. The parameter to remove. Must be a . Removes a parameter from the collection. The parameter to remove. Removes a parameter from the collection at the specified index. The zero-based index of the parameter to remove. Removes a parameter with the specified name from the collection. The name of the parameter to remove. Sets the parameter at the specified index. The zero-based index of the parameter to set. The parameter. Must be a . Sets the parameter with the specified name. The name of the parameter to set. The parameter. Must be a . Represents a transaction made against a SQLite database. Gets the connection associated with the transaction. The connection associated with the transaction. Gets the connection associated with the transaction. The connection associated with the transaction. Gets the isolation level for the transaction. This cannot be changed if the transaction is completed or closed. The isolation level for the transaction. Applies the changes made in the transaction. Reverts the changes made in the transaction. Releases any resources used by the transaction and rolls it back. true to release managed and unmanaged resources; false to release only unmanaged resources. Represents the type affinities used by columns in SQLite tables. Datatypes In SQLite Version 3 A signed integer. A floating point value. A text string. A blob of data. Enables configuration of global SQLite settings. This API may change or be removed in future releases. Configures Microsoft.Data.Sqlite to use winsqlite3.dll. This is a version of SQLite that ships in Windows 10. This method must be called before any other interaction with SQLite. This API may change or be removed in future releases. {methodName} can only be called when the connection is open. CommandText must be set before {methodName} can be called. ConnectionString cannot be set when the connection is open. Invalid attempt to call {operation} when reader is closed. The cache mode '{mode}' is invalid. The CommandBehavior '{behavior}' is invalid. The CommandType '{commandType}' is invalid. The IsolationLevel '{isolationLevel}' is invalid. The IsolationLevel '{isolationLevel}' can only be used with a shared cache. Set 'Cache=Shared' in the connection string. The ParameterDirection '{direction}' is invalid. Keyword not supported: '{keyword}'. Must add values for the following parameters: {parameters} No data exists for the row/column. ConnectionString must be set before Open can be called. SqliteConnection does not support nested transactions. A SqliteParameter with ParameterName '{parameterName}' is not contained by this SqliteParameterCollection. {propertyName} must be set. This SqliteTransaction has completed; it is no longer usable. The transaction object is not associated with the connection object. Execute requires the command to have a transaction object when the connection assigned to the command is in a pending local transaction. The Transaction property of the command has not been initialized. No mapping exists from object type {typeName} to a known managed provider native type. SQLite Error {errorCode}: '{message}'. For more information on this error code see http://sqlite.org/rescode.html Cannot bind the value for parameter '{parameterName}' because multiple matching parameters were found in the command text. Specify the parameter name with the symbol prefix, e.g. '@{parameterName}'. The SQLite library is already loaded. UseWinSqlite3 must be called before using SQLite. The {enumType} enumeration value, {value}, is invalid. Cannot convert object of type '{sourceType}' to object of type '{targetType}'. Cannot store 'NaN' values.