Beispiel #1
0
        public static void ImportTable(ITable srcTab, TableDefinitionDataTable destTabs)
        {
            TableDefinitionRow destTab = destTabs.FindByTableName(srcTab.Name);

            if (destTab == null)
            {
                destTab           = destTabs.NewTableDefinitionRow();
                destTab.TableName = srcTab.Name;
                destTabs.AddTableDefinitionRow(destTab);
            }
            ImportTable(srcTab, destTab);
        }
 public static void ImportProc(IProcedure srcProc, TableDefinitionDataTable destTabs)
 {
     System.Diagnostics.Debug.WriteLine("Import Proc " + srcProc.Name);
     TableDefinitionRow destTab = destTabs.FindByTableName(srcProc.Name);
     if (destTab == null)
     {
         destTab = destTabs.NewTableDefinitionRow();
         destTab.TableName = srcProc.Name;
         destTabs.AddTableDefinitionRow(destTab);
     }
     ImportProc(srcProc, destTab);
 }
Beispiel #3
0
        public static void ImportProc(IProcedure srcProc, TableDefinitionDataTable destTabs)
        {
            System.Diagnostics.Debug.WriteLine("Import Proc " + srcProc.Name);
            TableDefinitionRow destTab = destTabs.FindByTableName(srcProc.Name);

            if (destTab == null)
            {
                destTab           = destTabs.NewTableDefinitionRow();
                destTab.TableName = srcProc.Name;
                destTabs.AddTableDefinitionRow(destTab);
            }
            ImportProc(srcProc, destTab);
        }
Beispiel #4
0
        public static void ImportView(IView srcView, TableDefinitionDataTable destTabs)
        {
            System.Diagnostics.Debug.WriteLine("Import View " + srcView.Name);
            TableDefinitionRow destTab = destTabs.FindByTableName(srcView.Name);

            if (destTab == null)
            {
                destTab           = destTabs.NewTableDefinitionRow();
                destTab.TableName = srcView.Name;
                destTabs.AddTableDefinitionRow(destTab);
            }
            ImportView(srcView, destTab);
        }
 public static void ImportTable(ITable srcTab, TableDefinitionDataTable destTabs)
 {
     TableDefinitionRow destTab = destTabs.FindByTableName(srcTab.Name);
     if (destTab == null)
     {
         destTab = destTabs.NewTableDefinitionRow();
         destTab.TableName = srcTab.Name;
         destTabs.AddTableDefinitionRow(destTab);
     }
     ImportTable(srcTab, destTab);
 }
 public static void ImportView(IView srcView, TableDefinitionDataTable destTabs)
 {
     System.Diagnostics.Debug.WriteLine("Import View " + srcView.Name);
     TableDefinitionRow destTab = destTabs.FindByTableName(srcView.Name);
     if (destTab == null)
     {
         destTab = destTabs.NewTableDefinitionRow();
         destTab.TableName = srcView.Name;
         destTabs.AddTableDefinitionRow(destTab);
     }
     ImportView(srcView, destTab);
 }