MySqlDataSourceBuilder.UseConnectionOpenedCallback method
Adds a callback that is invoked when a new MySqlConnection
is opened.
public MySqlDataSourceBuilder UseConnectionOpenedCallback(MySqlConnectionOpenedCallback callback)
parameter | description |
---|---|
callback | The callback to invoke. |
Return Value
This builder, so that method calls can be chained.
See Also
- delegate MySqlConnectionOpenedCallback
- class MySqlDataSourceBuilder
- namespace MySqlConnector
- assembly MySqlConnector