public void Change_Database_From_Open_Connection() { JetConnection connection = new JetConnection(ConnectionString); connection.Open(); connection.ChangeDatabase("abcd"); }
public void Change_Database_From_Open_Connection() { using var connection = new JetConnection(JetConnection.GetConnectionString(StoreName, Helpers.DataAccessProviderFactory)); connection.Open(); connection.ChangeDatabase("abcd"); }