C# Class LitDev.DataBase

Inheritance: IDisposable
Afficher le fichier Open project: litdev1/LitDev Class Usage Examples

Méthodes publiques

Свойство Type Description
adapterMySql MySql.Data.MySqlClient.MySqlDataAdapter
adapterOdbc System.Data.Odbc.OdbcDataAdapter
adapterOleDb System.Data.OleDb.OleDbDataAdapter
adapterSQLite System.Data.SQLite.SQLiteDataAdapter
adapterSqlServer System.Data.SqlClient.SqlDataAdapter
cnnMySql MySql.Data.MySqlClient.MySqlConnection
cnnOdbc System.Data.Odbc.OdbcConnection
cnnOleDb System.Data.OleDb.OleDbConnection
cnnSQLite System.Data.SQLite.SQLiteConnection
cnnSqlServer System.Data.SqlClient.SqlConnection
commandMySql MySql.Data.MySqlClient.MySqlCommand
commandOdbc System.Data.Odbc.OdbcCommand
commandOleDb System.Data.OleDb.OleDbCommand
commandSQLite System.Data.SQLite.SQLiteCommand
commandSqlServer System.Data.SqlClient.SqlCommand
database string
dbConnection string
dbType DBType
id int
name string

Méthodes publiques

Méthode Description
ConnectMySql ( string server, string user, string password ) : void
ConnectOdbc ( string driver, string server, Primitive port, string user, string password, string option ) : void
ConnectOleDb ( string provider, string server ) : void
ConnectSQLite ( ) : void
ConnectSqlServer ( string server ) : void
DataBase ( string database, int id ) : System
Dispose ( ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Method Details

ConnectMySql() public méthode

public ConnectMySql ( string server, string user, string password ) : void
server string
user string
password string
Résultat void

ConnectOdbc() public méthode

public ConnectOdbc ( string driver, string server, Primitive port, string user, string password, string option ) : void
driver string
server string
port Primitive
user string
password string
option string
Résultat void

ConnectOleDb() public méthode

public ConnectOleDb ( string provider, string server ) : void
provider string
server string
Résultat void

ConnectSQLite() public méthode

public ConnectSQLite ( ) : void
Résultat void

ConnectSqlServer() public méthode

public ConnectSqlServer ( string server ) : void
server string
Résultat void

DataBase() public méthode

public DataBase ( string database, int id ) : System
database string
id int
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Property Details

adapterMySql public_oe property

public MySqlDataAdapter,MySql.Data.MySqlClient adapterMySql
Résultat MySql.Data.MySqlClient.MySqlDataAdapter

adapterOdbc public_oe property

public OdbcDataAdapter,System.Data.Odbc adapterOdbc
Résultat System.Data.Odbc.OdbcDataAdapter

adapterOleDb public_oe property

public OleDbDataAdapter,System.Data.OleDb adapterOleDb
Résultat System.Data.OleDb.OleDbDataAdapter

adapterSQLite public_oe property

public SQLiteDataAdapter,System.Data.SQLite adapterSQLite
Résultat System.Data.SQLite.SQLiteDataAdapter

adapterSqlServer public_oe property

public SqlDataAdapter,System.Data.SqlClient adapterSqlServer
Résultat System.Data.SqlClient.SqlDataAdapter

cnnMySql public_oe property

public MySqlConnection,MySql.Data.MySqlClient cnnMySql
Résultat MySql.Data.MySqlClient.MySqlConnection

cnnOdbc public_oe property

public OdbcConnection,System.Data.Odbc cnnOdbc
Résultat System.Data.Odbc.OdbcConnection

cnnOleDb public_oe property

public OleDbConnection,System.Data.OleDb cnnOleDb
Résultat System.Data.OleDb.OleDbConnection

cnnSQLite public_oe property

public SQLiteConnection,System.Data.SQLite cnnSQLite
Résultat System.Data.SQLite.SQLiteConnection

cnnSqlServer public_oe property

public SqlConnection,System.Data.SqlClient cnnSqlServer
Résultat System.Data.SqlClient.SqlConnection

commandMySql public_oe property

public MySqlCommand,MySql.Data.MySqlClient commandMySql
Résultat MySql.Data.MySqlClient.MySqlCommand

commandOdbc public_oe property

public OdbcCommand,System.Data.Odbc commandOdbc
Résultat System.Data.Odbc.OdbcCommand

commandOleDb public_oe property

public OleDbCommand,System.Data.OleDb commandOleDb
Résultat System.Data.OleDb.OleDbCommand

commandSQLite public_oe property

public SQLiteCommand,System.Data.SQLite commandSQLite
Résultat System.Data.SQLite.SQLiteCommand

commandSqlServer public_oe property

public SqlCommand,System.Data.SqlClient commandSqlServer
Résultat System.Data.SqlClient.SqlCommand

database public_oe property

public string database
Résultat string

dbConnection public_oe property

public string dbConnection
Résultat string

dbType public_oe property

public DBType dbType
Résultat DBType

id public_oe property

public int id
Résultat int

name public_oe property

public string name
Résultat string