Class MariaDbConnectionManager
Connection manager of a ETLBox connection to Maria DB.
Inheritance
object
MariaDbConnectionManager
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: ETLBox.Connection
Assembly: ETLBox.MariaDb.dll
Syntax
public class MariaDbConnectionManager : MySqlConnectionManager, IConnectionManager<MySqlConnection, MySqlTransaction>, IConnectionManager, IDisposable
Examples
var mariaDbConnection = new MariaDbConnectionManager(new ConnectionString("Data Source=.;"));
Constructors
MariaDbConnectionManager()
Declaration
public MariaDbConnectionManager()
Examples
var mariaDbConnection = new MariaDbConnectionManager(new ConnectionString("Data Source=.;"));
MariaDbConnectionManager(MySqlConnectionString)
Declaration
public MariaDbConnectionManager(MySqlConnectionString connectionString)
Parameters
Type | Name | Description |
---|---|---|
MySqlConnectionString | connectionString |
Examples
var mariaDbConnection = new MariaDbConnectionManager(new ConnectionString("Data Source=.;"));
MariaDbConnectionManager(string)
Declaration
public MariaDbConnectionManager(string connectionString)
Parameters
Type | Name | Description |
---|---|---|
string | connectionString |
Examples
var mariaDbConnection = new MariaDbConnectionManager(new ConnectionString("Data Source=.;"));
Properties
Compatibility
Declaration
public override string Compatibility { get; set; }
Property Value
Type | Description |
---|---|
string |
Overrides
ETLBox.Connection.DbConnectionManager<MySql.Data.MySqlClient.MySqlConnection, MySql.Data.MySqlClient.MySqlTransaction, MySql.Data.MySqlClient.MySqlParameter>.Compatibility
Examples
var mariaDbConnection = new MariaDbConnectionManager(new ConnectionString("Data Source=.;"));
MaxParameterSizeBulkCopy
Returns the maximum amount of parameters that can be used for bulk inserts.
Declaration
public override int MaxParameterSizeBulkCopy { get; protected set; }
Property Value
Type | Description |
---|---|
int |
Overrides
MaxParameterSizeSql
Returns the maximum amount of parameters that can be passed into a sql query.
Declaration
public override int MaxParameterSizeSql { get; protected set; }
Property Value
Type | Description |
---|---|
int |
Overrides
Methods
Clone()
Cretes a clone of the current connection manager
Declaration
public override IConnectionManager Clone()
Returns
Type | Description |
---|---|
IConnectionManager | A instance copy of the current connection manager |
Overrides
Implements
System.IDisposable