Title here
Summary here
Creates an ETLBox IConnectionManager object based on the type of the IDbConnection. This connects the classic ADO.NET connection with the ETLBox connection manager approach.
public static class ConnectionManagerCreator
public static Dictionary<string, string> ConnectionManagerMappings { get; set; }
Type | Description |
---|---|
Dictionary<string, string> |
Creates an ETLBox connection manager instance from the given IDbConnection. Make sure you have the appropiate ETLBox extension (e.g., ETLBox.MySql) referenced that matches with your used ADO.NET connection.
public static IConnectionManager CreateFromIDbConnection(IDbConnection connection)
Type | Name | Description |
---|---|---|
IDbConnection | connection | The ADO.NET connection instance |
Type | Description |
---|---|
IConnectionManager | An ETLBox Connection Manager |
Type | Condition |
---|---|
ETLBoxException | Thrown if no ETLBox connection was found, or if the corresponding ETLBox Connection package was not referenced |