コード例 #1
0
        public void Change_Database_From_Open_Connection()
        {
            JetConnection connection = new JetConnection(ConnectionString);

            connection.Open();
            connection.ChangeDatabase("abcd");
        }
コード例 #2
0
 public void Change_Database_From_Open_Connection()
 {
     using var connection = new JetConnection(JetConnection.GetConnectionString(StoreName, Helpers.DataAccessProviderFactory));
     connection.Open();
     connection.ChangeDatabase("abcd");
 }