public DatabaseTable(string tableName, MySqlConnection connection) { if (tableName == null) { throw new ArgumentNullException("tableName"); } TableName = tableName; Client = new MySQLEntityClient(connection, true); }
public DatabaseTable(string tableName, MySQLEntityClient client) { if (tableName == null) { throw new ArgumentNullException("tableName"); } TableName = tableName; Client = client; }
/// <summary> /// Recives the database client instance /// </summary> public virtual void SendClient(MySQLEntityClient client) { Client = client; }
public DatabaseClient(string address, string username, string password, string database, ushort port = 3306, bool singleConnectionMode = true, bool autoInit = true) { Client = new MySQLEntityClient(address, username, password, database, port, singleConnectionMode); m_AutoInit = autoInit; FinaliseConstructor(); }
public DatabaseClient(string connectionString, bool singleConnectionMode = true, bool autoInit = true) { Client = new MySQLEntityClient(connectionString, singleConnectionMode); m_AutoInit = autoInit; FinaliseConstructor(); }
public DatabaseClient(DatabaseSettings settings, bool singleConnectionMode = true, bool autoInit = true) { Client = new MySQLEntityClient(settings, singleConnectionMode); m_AutoInit = autoInit; FinaliseConstructor(); }