C# Class Blacker.MangaScraper.Library.SQLite.SQLiteDALBase

Datei anzeigen Open project: blacker-cz/MangaScraper

Protected Properties

Property Type Description
_log log4net.ILog

Private Properties

Property Type Description

Protected Methods

Method Description
CommitTransaction ( System.Data.SQLite.SQLiteTransaction transaction ) : void
ExecuteDataReader ( SQLiteCommand command, SQLiteConnection connection ) : IDataReader
ExecuteDataReader ( SQLiteCommand command, SQLiteConnection connection, System.Data.SQLite.SQLiteTransaction transaction ) : IDataReader
ExecuteDataTable ( SQLiteCommand command, SQLiteConnection connection ) : DataTable
ExecuteDataTable ( SQLiteCommand command, SQLiteConnection connection, System.Data.SQLite.SQLiteTransaction transaction ) : DataTable
ExecuteNonQuery ( SQLiteCommand command, SQLiteConnection connection ) : int
ExecuteNonQuery ( SQLiteCommand command, SQLiteConnection connection, System.Data.SQLite.SQLiteTransaction transaction ) : int
ExecuteScalar ( SQLiteCommand command, SQLiteConnection connection ) : object
ExecuteScalar ( SQLiteCommand command, SQLiteConnection connection, System.Data.SQLite.SQLiteTransaction transaction ) : object
GetConnection ( ) : SQLiteConnection
GetDBSafeDateTime ( System.DateTime date ) : System.DateTime
GetTextCommand ( string command ) : SQLiteCommand
RollbackTransaction ( System.Data.SQLite.SQLiteTransaction transaction ) : void

Method Details

CommitTransaction() protected method

protected CommitTransaction ( System.Data.SQLite.SQLiteTransaction transaction ) : void
transaction System.Data.SQLite.SQLiteTransaction
return void

ExecuteDataReader() protected method

protected ExecuteDataReader ( SQLiteCommand command, SQLiteConnection connection ) : IDataReader
command System.Data.SQLite.SQLiteCommand
connection System.Data.SQLite.SQLiteConnection
return IDataReader

ExecuteDataReader() protected method

protected ExecuteDataReader ( SQLiteCommand command, SQLiteConnection connection, System.Data.SQLite.SQLiteTransaction transaction ) : IDataReader
command System.Data.SQLite.SQLiteCommand
connection System.Data.SQLite.SQLiteConnection
transaction System.Data.SQLite.SQLiteTransaction
return IDataReader

ExecuteDataTable() protected method

protected ExecuteDataTable ( SQLiteCommand command, SQLiteConnection connection ) : DataTable
command System.Data.SQLite.SQLiteCommand
connection System.Data.SQLite.SQLiteConnection
return System.Data.DataTable

ExecuteDataTable() protected method

protected ExecuteDataTable ( SQLiteCommand command, SQLiteConnection connection, System.Data.SQLite.SQLiteTransaction transaction ) : DataTable
command System.Data.SQLite.SQLiteCommand
connection System.Data.SQLite.SQLiteConnection
transaction System.Data.SQLite.SQLiteTransaction
return System.Data.DataTable

ExecuteNonQuery() protected method

protected ExecuteNonQuery ( SQLiteCommand command, SQLiteConnection connection ) : int
command System.Data.SQLite.SQLiteCommand
connection System.Data.SQLite.SQLiteConnection
return int

ExecuteNonQuery() protected method

protected ExecuteNonQuery ( SQLiteCommand command, SQLiteConnection connection, System.Data.SQLite.SQLiteTransaction transaction ) : int
command System.Data.SQLite.SQLiteCommand
connection System.Data.SQLite.SQLiteConnection
transaction System.Data.SQLite.SQLiteTransaction
return int

ExecuteScalar() protected method

protected ExecuteScalar ( SQLiteCommand command, SQLiteConnection connection ) : object
command System.Data.SQLite.SQLiteCommand
connection System.Data.SQLite.SQLiteConnection
return object

ExecuteScalar() protected method

protected ExecuteScalar ( SQLiteCommand command, SQLiteConnection connection, System.Data.SQLite.SQLiteTransaction transaction ) : object
command System.Data.SQLite.SQLiteCommand
connection System.Data.SQLite.SQLiteConnection
transaction System.Data.SQLite.SQLiteTransaction
return object

GetConnection() protected method

protected GetConnection ( ) : SQLiteConnection
return System.Data.SQLite.SQLiteConnection

GetDBSafeDateTime() protected static method

protected static GetDBSafeDateTime ( System.DateTime date ) : System.DateTime
date System.DateTime
return System.DateTime

GetTextCommand() protected method

protected GetTextCommand ( string command ) : SQLiteCommand
command string
return System.Data.SQLite.SQLiteCommand

RollbackTransaction() protected method

protected RollbackTransaction ( System.Data.SQLite.SQLiteTransaction transaction ) : void
transaction System.Data.SQLite.SQLiteTransaction
return void

Property Details

_log protected_oe static_oe property

protected static ILog,log4net _log
return log4net.ILog