C# Класс SmartConfig.DataStores.SQLite.CommandFactory

Показать файл Открыть проект

Открытые методы

Метод Описание
CommandFactory ( TableConfiguration tableConfiguration ) : System
CreateDeleteCommand ( SQLiteConnection connection, Setting setting ) : SQLiteCommand
CreateInsertCommand ( SQLiteConnection connection, Setting setting ) : SQLiteCommand
CreateSelectCommand ( SQLiteConnection connection, Setting setting ) : SQLiteCommand

Приватные методы

Метод Описание
AddParameter ( SQLiteCommand command, string name, object value = null ) : void
AddParameters ( SQLiteCommand command, object>.IEnumerable parameters ) : void

Описание методов

CommandFactory() публичный Метод

public CommandFactory ( TableConfiguration tableConfiguration ) : System
tableConfiguration TableConfiguration
Результат System

CreateDeleteCommand() публичный Метод

public CreateDeleteCommand ( SQLiteConnection connection, Setting setting ) : SQLiteCommand
connection System.Data.SQLite.SQLiteConnection
setting SmartConfig.Data.Setting
Результат System.Data.SQLite.SQLiteCommand

CreateInsertCommand() публичный Метод

public CreateInsertCommand ( SQLiteConnection connection, Setting setting ) : SQLiteCommand
connection System.Data.SQLite.SQLiteConnection
setting SmartConfig.Data.Setting
Результат System.Data.SQLite.SQLiteCommand

CreateSelectCommand() публичный Метод

public CreateSelectCommand ( SQLiteConnection connection, Setting setting ) : SQLiteCommand
connection System.Data.SQLite.SQLiteConnection
setting SmartConfig.Data.Setting
Результат System.Data.SQLite.SQLiteCommand