public TabularDataNewTableFrame(GenericTabularDataStore obj) { InitializeComponent(); m_obj = obj; tbxDatabase.Text = String.Format("{0} ({1})", obj.dbname, obj.Connection); tableFromTabularDataFrame1.SetDatabase(obj.Connection.PhysicalFactory.CreateDatabaseSource(obj.Connection, obj.dbname)); }
public ITabularDataStore GetDataStore() { var res = new GenericTabularDataStore(m_db.Connection.Clone(), m_db.DatabaseName, m_name.Schema, m_name.Name); res.create_table = true; return(res); }
public void NewTableFromFile() { var dst = new GenericTabularDataStore(GetConnection().Clone(), m_conn.DatabaseName, null, null); dst.create_table = true; var wizard = new BulkCopyWizard(null, dst); wizard.FixedTarget = true; wizard.ShowDialogEx(); }