C# Class SmartConfig.DataStores.SQLite.CommandFactory

Afficher le fichier Open project: he-dev/SmartConfig

Méthodes publiques

Méthode Description
CommandFactory ( TableConfiguration tableConfiguration ) : System
CreateDeleteCommand ( SQLiteConnection connection, Setting setting ) : SQLiteCommand
CreateInsertCommand ( SQLiteConnection connection, Setting setting ) : SQLiteCommand
CreateSelectCommand ( SQLiteConnection connection, Setting setting ) : SQLiteCommand

Private Methods

Méthode Description
AddParameter ( SQLiteCommand command, string name, object value = null ) : void
AddParameters ( SQLiteCommand command, object>.IEnumerable parameters ) : void

Method Details

CommandFactory() public méthode

public CommandFactory ( TableConfiguration tableConfiguration ) : System
tableConfiguration TableConfiguration
Résultat System

CreateDeleteCommand() public méthode

public CreateDeleteCommand ( SQLiteConnection connection, Setting setting ) : SQLiteCommand
connection System.Data.SQLite.SQLiteConnection
setting SmartConfig.Data.Setting
Résultat System.Data.SQLite.SQLiteCommand

CreateInsertCommand() public méthode

public CreateInsertCommand ( SQLiteConnection connection, Setting setting ) : SQLiteCommand
connection System.Data.SQLite.SQLiteConnection
setting SmartConfig.Data.Setting
Résultat System.Data.SQLite.SQLiteCommand

CreateSelectCommand() public méthode

public CreateSelectCommand ( SQLiteConnection connection, Setting setting ) : SQLiteCommand
connection System.Data.SQLite.SQLiteConnection
setting SmartConfig.Data.Setting
Résultat System.Data.SQLite.SQLiteCommand