/// <summary> /// Carries out instructions after execution of the sql statement /// </summary> /// <param name="databaseConnection">The <see cref="DatabaseConnection"/> that executed the statement.</param> /// <param name="transaction">The <see cref="IDbTransaction"/> under which the <see cref="SqlStatement"/>'s command was run.</param> /// <param name="command">The <see cref="IDbCommand"/> that was used to execute the <see cref="SqlStatement"/>.</param> internal override void DoAfterExecute(DatabaseConnection databaseConnection, IDbTransaction transaction, IDbCommand command) { if (_supportsAutoIncrementingFIELD != null && _tableName != null) { var lastAutoIncrementingID = databaseConnection.GetLastAutoIncrementingID(_tableName, transaction, command); _supportsAutoIncrementingFIELD.SetAutoIncrementingFieldValue(lastAutoIncrementingID); } }
/// <summary> /// Carries out instructions after execution of the sql statement /// </summary> internal virtual void DoAfterExecute(DatabaseConnection conn, IDbTransaction tran, IDbCommand command) { }