Click or drag to resize
IStatement Interface
Represents a single SQL statement.

Namespace: SQLitePCL.pretty
Assembly: SQLitePCL.pretty (in SQLitePCL.pretty.dll) Version: 1.0.0.0 (1.0.0)
Syntax
public interface IStatement : IEnumerator<IReadOnlyList<IResultSetValue>>, 
	IEnumerator, IDisposable

The IStatement type exposes the following members.

Methods
  NameDescription
Public methodClearBindings
Resets this statements bindings to Null.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodMoveNext
Advances the enumerator to the next element of the collection.
(Inherited from IEnumerator.)
Public methodReset
Sets the enumerator to its initial position, which is before the first element in the collection.
(Inherited from IEnumerator.)
Public methodStatus
Retrieve and reset counter values from a prepared statement.
Top
Extension Methods
  NameDescription
Public Extension MethodBind
Binds the position indexed values in values to the corresponding bind parameters in This.
(Defined by Statement.)
Public Extension MethodBindPropertiesT
Binds the statement bind variables by name to the corresponding properties on the object obj.
(Defined by Statement.)
Public Extension MethodExecute
Executes the IStatement with provided bind parameter values.
(Defined by Statement.)
Public Extension MethodExecuteWithPropertiesT
Executes the IStatement with provided bind object.
(Defined by Statement.)
Public Extension MethodQueryOverloaded.
Queries the database using the provided IStatement.
(Defined by Statement.)
Public Extension MethodQuery(Object)Overloaded.
Queries the database using the provided IStatement and provided bind variables.
(Defined by Statement.)
Top
Properties
  NameDescription
Public propertyBindParameters
An IReadOnlyOrderedDictionaryTKey, TValue of the statement's bind parameters keyed by the parameter name. Note when accessing by index the first parameter is zero-based indexed unlike in the native SQLite APIs that are one-based indexed.
Public propertyColumns
An IReadOnlyListT of the columns in the statement's resultset.
Public propertyCurrent
Gets the element in the collection at the current position of the enumerator.
(Inherited from IEnumeratorIReadOnlyListIResultSetValue.)
Public propertyIsBusy
if the statement is busy, otherwise .
Public propertyIsReadOnly
if the statement is readonly, otherwise .
Public propertySQL
The text string used to prepare the statement.
Top
See Also