SqliteParameterCollection Class

Definition

Represents a collection of SQLite parameters.

public class SqliteParameterCollection : System.Data.Common.DbParameterCollection
type SqliteParameterCollection = class
    inherit DbParameterCollection
Public Class SqliteParameterCollection
Inherits DbParameterCollection
Inheritance
SqliteParameterCollection

Constructors

SqliteParameterCollection()

Initializes a new instance of the SqliteParameterCollection class.

Properties

Count

Gets the number of items in the collection.

IsFixedSize

Gets a value indicating whether the collection is a fixed size.

IsReadOnly

Gets a value indicating whether the collection is read-only.

IsSynchronized

Gets a value indicating whether the collection is synchronized.

Item[Int32]

Gets or sets the parameter at the specified index.

Item[String]

Gets or sets the parameter with the specified name.

SyncRoot

Gets the object used to synchronize access to the collection.

Methods

Add(Object)

Adds a parameter to the collection.

Add(SqliteParameter)

Adds a parameter to the collection.

Add(String, SqliteType)

Adds a parameter to the collection.

Add(String, SqliteType, Int32)

Adds a parameter to the collection.

Add(String, SqliteType, Int32, String)

Adds a parameter to the collection.

AddRange(Array)

Adds multiple parameters to the collection.

AddRange(IEnumerable<SqliteParameter>)

Adds multiple parameters to the collection.

AddWithValue(String, Object)

Adds a parameter to the collection.

Clear()

Removes all parameters from the collection.

Contains(Object)

Gets a value indicating whether the collection contains the specified parameter.

Contains(SqliteParameter)

Gets a value indicating whether the collection contains the specified parameter.

Contains(String)

Gets a value indicating whether the collection contains a parameter with the specified name.

CopyTo(Array, Int32)

Copies the collection to an array of parameters.

CopyTo(SqliteParameter[], Int32)

Copies the collection to an array of parameters.

GetEnumerator()

Gets an enumerator that iterates through the collection.

GetParameter(Int32)

Gets a parameter at the specified index.

GetParameter(String)

Gets a parameter with the specified name.

IndexOf(Object)

Gets the index of the specified parameter.

IndexOf(SqliteParameter)

Gets the index of the specified parameter.

IndexOf(String)

Gets the index of the parameter with the specified name.

Insert(Int32, Object)

Inserts a parameter into the collection at the specified index.

Insert(Int32, SqliteParameter)

Inserts a parameter into the collection at the specified index.

Remove(Object)

Removes a parameter from the collection.

Remove(SqliteParameter)

Removes a parameter from the collection.

RemoveAt(Int32)

Removes a parameter from the collection at the specified index.

RemoveAt(String)

Removes a parameter with the specified name from the collection.

SetParameter(Int32, DbParameter)

Sets the parameter at the specified index.

SetParameter(String, DbParameter)

Sets the parameter with the specified name.

Applies to