Exemplo n.º 1
0
 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));
 }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
        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();
        }