C# Class Community.CsharpSqlite.SQLiteClient.SqliteDataAdapter

Represents a set of data commands and a database connection that are used to fill the DataSet and update the data source.
Inheritance: System.Data.Common.DbDataAdapter, IDbDataAdapter
Afficher le fichier Open project: koush/csharp-sqlite Class Usage Examples

Méthodes publiques

Méthode Description
SqliteDataAdapter ( ) : System

Initializes a new instance of the SqliteDataAdapter class.

SqliteDataAdapter ( DbCommand selectCommand ) : System

Initializes a new instance of the SqliteDataAdapter class with the specified SqliteCommand as the SelectCommand property.

SqliteDataAdapter ( IDbCommand selectCommand ) : System
SqliteDataAdapter ( string selectCommandText, Community.CsharpSqlite.SQLiteClient.SqliteConnection connection ) : System

Initializes a new instance of the SqliteDataAdapter class with a SelectCommand and a SqliteConnection object.

SqliteDataAdapter ( string selectCommandText, string connectionString ) : System

Initializes a new instance of the SqliteDataAdapter class with a SelectCommand and a connection string.

Méthodes protégées

Méthode Description
CreateRowUpdatedEvent ( DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping ) : RowUpdatedEventArgs

Initializes a new instance of the RowUpdatedEventArgs class.

CreateRowUpdatingEvent ( DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping ) : RowUpdatingEventArgs

OnRowUpdated ( RowUpdatedEventArgs args ) : void

Raises the RowUpdating event of Sqlite data provider.

OnRowUpdating ( RowUpdatingEventArgs args ) : void

Raises the RowUpdated event of a Sqlite data provider.

Method Details

CreateRowUpdatedEvent() protected méthode

Initializes a new instance of the RowUpdatedEventArgs class.
protected CreateRowUpdatedEvent ( DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping ) : RowUpdatedEventArgs
dataRow System.Data.DataRow The DataRow used to update the data source.
command IDbCommand The IDbCommand executed during the Update.
statementType StatementType Whether the command is an UPDATE, INSERT, DELETE, or SELECT statement.
tableMapping System.Data.Common.DataTableMapping A DataTableMapping object.
Résultat System.Data.Common.RowUpdatedEventArgs

CreateRowUpdatingEvent() protected méthode

protected CreateRowUpdatingEvent ( DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping ) : RowUpdatingEventArgs
dataRow System.Data.DataRow The DataRow used to update the data source.
command IDbCommand The IDbCommand executed during the Update.
statementType StatementType Whether the command is an UPDATE, INSERT, DELETE, or SELECT statement.
tableMapping System.Data.Common.DataTableMapping A DataTableMapping object.
Résultat System.Data.Common.RowUpdatingEventArgs

OnRowUpdated() protected méthode

Raises the RowUpdating event of Sqlite data provider.
protected OnRowUpdated ( RowUpdatedEventArgs args ) : void
args System.Data.Common.RowUpdatedEventArgs An RowUpdatingEventArgs that contains the event data.
Résultat void

OnRowUpdating() protected méthode

Raises the RowUpdated event of a Sqlite data provider.
protected OnRowUpdating ( RowUpdatingEventArgs args ) : void
args System.Data.Common.RowUpdatingEventArgs A RowUpdatedEventArgs that contains the event data.
Résultat void

SqliteDataAdapter() public méthode

Initializes a new instance of the SqliteDataAdapter class.
public SqliteDataAdapter ( ) : System
Résultat System

SqliteDataAdapter() public méthode

Initializes a new instance of the SqliteDataAdapter class with the specified SqliteCommand as the SelectCommand property.
public SqliteDataAdapter ( DbCommand selectCommand ) : System
selectCommand System.Data.Common.DbCommand
Résultat System

SqliteDataAdapter() public méthode

public SqliteDataAdapter ( IDbCommand selectCommand ) : System
selectCommand IDbCommand
Résultat System

SqliteDataAdapter() public méthode

Initializes a new instance of the SqliteDataAdapter class with a SelectCommand and a SqliteConnection object.
public SqliteDataAdapter ( string selectCommandText, Community.CsharpSqlite.SQLiteClient.SqliteConnection connection ) : System
selectCommandText string
connection Community.CsharpSqlite.SQLiteClient.SqliteConnection
Résultat System

SqliteDataAdapter() public méthode

Initializes a new instance of the SqliteDataAdapter class with a SelectCommand and a connection string.
public SqliteDataAdapter ( string selectCommandText, string connectionString ) : System
selectCommandText string
connectionString string
Résultat System