示例#1
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();
        }
示例#2
0
        public void DragDrop_Table(AppObject appobj)
        {
            ITableSource src = appobj.TableSource;

            BulkCopyWizard.Run(src.GetDataStoreAndClone(), TableSource.GetDataStoreAndClone());
        }
示例#3
0
 public void Import()
 {
     BulkCopyWizard.Run(null, TableSource.GetDataStoreAndClone());
 }
示例#4
0
 public void Export()
 {
     BulkCopyWizard.Run(TableSource.GetDataStoreAndClone(), null);
 }
示例#5
0
        public static void Run(ITabularDataStore source, ITabularDataStore target)
        {
            BulkCopyWizard wizard = new BulkCopyWizard(source, target);

            wizard.ShowDialogEx();
        }