public PostgreSqlBuilderTable(DmTable tableDescription, DbConnection connection, DbTransaction transaction = null) { _connection = connection as NpgsqlConnection; _transaction = transaction as NpgsqlTransaction; _tableDescription = tableDescription; (_tableName, _) = PostgreSqlBuilder.GetParsers(_tableDescription); _mySqlDbMetadata = new PostgreSqlDbMetadata(); }
public PostgreSqlBuilderProcedure(DmTable tableDescription, DbConnection connection, DbTransaction transaction = null) { _connection = connection as NpgsqlConnection; _transaction = transaction as NpgsqlTransaction; _tableDescription = tableDescription; (_tableName, _trackingName) = PostgreSqlBuilder.GetParsers(tableDescription); _sqlObjectNames = new PostgreSqlObjectNames(_tableDescription); _mySqlDbMetadata = new PostgreSqlDbMetadata(); _schemaName = new NpgsqlConnectionStringBuilder(connection.ConnectionString).SearchPath ?? "public"; }