C# Class Pomelo.Explorer.MySQL.MySqlConnectionExtensions

Show file Open project: yukozh/Pomelo-Explorer

Public Methods

Method Description
EnsureOpened ( MySqlConnection conn ) : void
EnsureOpenedAsync ( MySqlConnection conn, CancellationToken token = default ) : Task

Method Details

EnsureOpened() public static method

public static EnsureOpened ( MySqlConnection conn ) : void
conn MySqlConnection
return void

EnsureOpenedAsync() public static method

public static EnsureOpenedAsync ( MySqlConnection conn, CancellationToken token = default ) : Task
conn MySqlConnection
token CancellationToken
return Task