public SqlBuilderTrigger(SyncTable tableDescription, ParserName tableName, ParserName trackingName, SyncSetup setup) { this.tableDescription = tableDescription; this.setup = setup; this.tableName = tableName; this.trackingName = trackingName; this.sqlObjectNames = new NpgsqlObjectNames(this.tableDescription, this.setup); }
public NpgsqlSyncAdapter(SyncTable tableDescription, ParserName tableName, ParserName trackingName, SyncSetup setup, DbConnection connection, DbTransaction transaction) : base(tableDescription, setup) { var sqlc = connection as NpgsqlConnection; this.connection = sqlc ?? throw new InvalidCastException("Connection should be a NpgsqlConnection"); this.transaction = transaction as NpgsqlTransaction; this.sqlObjectNames = new NpgsqlObjectNames(tableDescription, setup); this.sqlMetadata = new NpgsqlDbMetadata(); }
public SqlBuilderTrigger(SyncTable tableDescription, ParserName tableName, ParserName trackingName, SyncSetup setup, DbConnection connection, DbTransaction transaction = null) { this.connection = connection as NpgsqlConnection; this.transaction = transaction as NpgsqlTransaction; this.tableDescription = tableDescription; this.setup = setup; this.tableName = tableName; this.trackingName = trackingName; this.sqlObjectNames = new NpgsqlObjectNames(this.tableDescription, this.setup); }
public NpgsqlSyncAdapter(SyncTable tableDescription, ParserName tableName, ParserName trackingName, SyncSetup setup) : base(tableDescription, setup) { this.sqlObjectNames = new NpgsqlObjectNames(tableDescription, setup); this.sqlMetadata = new NpgsqlDbMetadata(); }