public static async void T_ChangeDbAsync() { //open ,cnang db sync, close var connStr = GetMySqlConnString(); var conn = new MySqlConnection(connStr); await conn.OpenAsync(); await conn.ChangeDbAsync("mysql"); await conn.CloseAsync(); }
public static async void T_ChangeDbAsync() { //open ,cnang db sync, close var connStr = GetMySqlConnString(); var conn = new MySqlConnection(connStr); await conn.OpenAsync(); await conn.ChangeDbAsync("mysql"); await conn.CloseAsync(); }