public OracleTransformationProvider(Dialect dialect, string connectionString)
     : base(dialect, connectionString)
 {
     _connection = new OracleConnection();
     _connection.ConnectionString = _connectionString;
     _connection.Open();
 }
 public MySqlTransformationProvider(Dialect dialect, string connectionString)
     : base(dialect, connectionString)
 {
     _connection = new MySqlConnection(_connectionString);
     _connection.ConnectionString = _connectionString;
     _connection.Open();
 }
		public MySqlTransformationProvider(Dialect dialect, string connectionString)
			: base(dialect, connectionString, null) // we ignore schemas for MySql (schema == database for MySql)
		{
			_connection = new MySqlConnection(_connectionString);
			_connection.ConnectionString = _connectionString;
			_connection.Open();
		}
 public PostgreSQLTransformationProvider(Dialect dialect, string connectionString)
     : base(dialect, connectionString)
 {
     _connection = new NpgsqlConnection();
     _connection.ConnectionString = _connectionString;
     _connection.Open();
 }
		public SQLiteTransformationProvider(Dialect dialect, string connectionString)
			: base(dialect, connectionString, null)
		{
			_connection = new SqliteConnection(_connectionString);
			_connection.ConnectionString = _connectionString;
			_connection.Open();
		}
 public MariaDBTransformationProvider(Dialect dialect, string connectionString, string scope, string providerName) 
     : base(dialect, connectionString, scope, providerName)
 {
     if (string.IsNullOrEmpty(providerName)) providerName = "MySql.Data.MySqlClient";
     var fac = DbProviderFactories.GetFactory(providerName);
     _connection = fac.CreateConnection(); 
     _connection.ConnectionString = _connectionString;
     _connection.Open();
 }
 public MySqlTransformationProvider(Dialect dialect, string connectionString, string scope, string providerName) 
     : base(dialect, connectionString, null, scope) // we ignore schemas for MySql (schema == database for MySql)
 {
     if (string.IsNullOrEmpty(providerName)) providerName = "MySql.Data.MySqlClient";
     var fac = DbProviderFactoriesHelper.GetFactory(providerName, "MySql.Data", "MySql.Data.MySqlClient.MySqlClientFactory");
     _connection = fac.CreateConnection(); //new MySqlConnection(_connectionString) {ConnectionString = _connectionString};
     _connection.ConnectionString = _connectionString;
     _connection.Open();
 }
		public SQLiteTransformationProvider(Dialect dialect, string connectionString, int commandTimeout)
			: base(dialect, connectionString, commandTimeout)
		{
			_connection = new SqliteConnection(_connectionString) {ConnectionString = _connectionString};
			_connection.Open();
		}
		public OracleTransformationProvider(Dialect dialect, string connectionString, int commandTimeout)
			: base(dialect, connectionString, commandTimeout)
		{
			_connection = new OracleConnection {ConnectionString = _connectionString};
			_connection.Open();
		}
        public SqlServerCeTransformationProvider(Dialect dialect, string connectionString)
            : base(dialect, connectionString)
        {

        }
Ejemplo n.º 11
0
		public override ITransformationProvider GetTransformationProvider(Dialect dialect, string connectionString, int commandTimeout)
		{
			return new OracleTransformationProvider(dialect, connectionString, commandTimeout);
		}
 public MySqlTransformationProvider(Dialect dialect, IDbConnection connection, string scope, string providerName)
    : base(dialect, connection, null, scope)
 {                            
 }
        public OracleTransformationProvider(Dialect dialect, string connectionString, string defaultSchema, string scope, string providerName)
			: base(dialect, connectionString, defaultSchema, scope)
		{
            this.CreateConnection(providerName);
		}
Ejemplo n.º 14
0
        public override ITransformationProvider GetTransformationProvider(Dialect dialect, string connectionString, string schemaName)
		{
			return new SqlServerCeTransformationProvider(dialect, connectionString);
		}
Ejemplo n.º 15
0
        public override ITransformationProvider GetTransformationProvider(Dialect dialect, string connectionString, string defaultSchema, string scope, string providerName)
		{
			return new MsOracleTransformationProvider(dialect, connectionString, defaultSchema, scope, providerName);
		}
 public override ITransformationProvider GetTransformationProvider(Dialect dialect, string connectionString, string defaultSchema)
 {
     return new OracleManagedDriverTransformationProvider(dialect, connectionString, defaultSchema);
 }
Ejemplo n.º 17
0
 public override ITransformationProvider GetTransformationProvider(Dialect dialect, IDbConnection connection,
     string defaultSchema,
     string scope, string providerName)
 {
     return new DB2TransformationProvider(dialect, connection, scope, providerName);
 }
 public OracleTransformationProvider(Dialect dialect, IDbConnection connection, string defaultSchema, string scope, string providerName)
    : base(dialect, connection, defaultSchema, scope)
 {                              
 }
		public OracleColumnPropertiesMapper(Dialect dialect, string type) : base(dialect, type)
		{
		}
 public MariaDBTransformationProvider(Dialect dialect, IDbConnection connection, string scope, string providerName)
    : base(dialect, connection, scope, providerName)
 {                            
 }
		public SqlServerTransformationProvider(Dialect dialect, string connectionString, string defaultSchema)
			: base(dialect, connectionString, defaultSchema)
		{
			CreateConnection();
		}
 public SQLiteTransformationProvider(Dialect dialect, IDbConnection connection, bool dontCloseConnection)
     : base(dialect, connection.ConnectionString)
 {
     _connection = connection;
     _dontCloseConnection = dontCloseConnection;
 }
 public SqlServerTransformationProvider(Dialect dialect, string connectionString)
     : base(dialect, connectionString)
 {
     CreateConnection();
 }
		public SqlServerCeTransformationProvider(Dialect dialect, string connectionString, int commandTimeout)
			: base(dialect, connectionString, commandTimeout)
		{

		}
Ejemplo n.º 25
0
		public override ITransformationProvider GetTransformationProvider(Dialect dialect, string connectionString)
		{
			return new MySqlTransformationProvider(dialect, connectionString);
		}
		public PostgreSQLTransformationProvider(Dialect dialect, string connectionString, int commandTimeout)
			: base(dialect, connectionString, commandTimeout)
		{
			_connection = new NpgsqlConnection {ConnectionString = _connectionString};
			_connection.Open();
		}
Ejemplo n.º 27
0
		public override ITransformationProvider GetTransformationProvider(Dialect dialect, string connectionString, string defaultSchema)
		{
			return new SqlServerTransformationProvider(dialect, connectionString, defaultSchema ?? DboSchemaName);
		}
 protected OracleTransformationProviderBase(Dialect dialect, string connectionString, string defaultSchema) : base(dialect, connectionString, defaultSchema)
 {
 }
Ejemplo n.º 29
0
		public override ITransformationProvider GetTransformationProvider(Dialect dialect, string connectionString, string defaultSchema)
		{
			return new PostgreSQLTransformationProvider(dialect, connectionString, defaultSchema);
		}
Ejemplo n.º 30
0
 public ColumnPropertiesMapper(Dialect dialect, string type)
 {
     this.dialect = dialect;
     this.type = type;
 }