Skip to content

ISqlOperationInterceptor.ExecuteNonQuery method

Intercepts the SqlHelperExecute method (SqlDelete/SqlUpdate/SqlInsert).

public OptionalValue<long?> ExecuteNonQuery(string commandText, 
    IDictionary<string, object> parameters, ExpectedRows expectedRows, IQueryWithParams query, 
    bool getNewId)
parameter description
commandText The command text.
parameters The parameters.
expectedRows The expected rows.
query The query.
getNewId True if InsertAndGetID is called.

See Also