예제 #1
0
 public PostgreSqlBuilderTrigger(DmTable tableDescription, DbConnection connection,
                                 DbTransaction transaction = null)
 {
     _connection                 = connection as NpgsqlConnection;
     _transaction                = transaction as NpgsqlTransaction;
     _tableDescription           = tableDescription;
     (_tableName, _trackingName) = PostgreSqlBuilder.GetParsers(_tableDescription);
     _postgreSqlObjectNames      = new PostgreSqlObjectNames(_tableDescription);
     _schemaName                 = new NpgsqlConnectionStringBuilder(connection.ConnectionString).SearchPath ?? "public";
 }