private void SetupProperties()
        {
            ProviderViewModel provider = this.SelectedProvider;

            if (provider == null)
            {
                return;
            }

            var factory = provider.GetProviderFactory();
            var connectionStringBuilder = factory.CreateConnectionStringBuilder();

            this.ConnectionStringBuilder = connectionStringBuilder;
        }
        private void Export(object arg)
        {
            ProviderViewModel provider = this.SelectedProvider;

            if (provider == null)
            {
                return;
            }

            var factory = provider.GetProviderFactory();

            var connection = factory.CreateConnection();

            connection.ConnectionString = this.ConnectionStringBuilder.ConnectionString;

            WorkerArgs args = new WorkerArgs()
            {
                Connection = connection,
                ExportPath = this.ExportPath
            };

            this.worker.RunWorkerAsync(args);
        }