Пример #1
0
 protected void EnsureAllTablesInSchemaExist(IDataConnector genericData)
 {
     foreach (System.Collections.Generic.KeyValuePair <string, string> r in renameSchema)
     {
         genericData.RenameTable(r.Key, r.Value);
     }
     foreach (var s in schema)
     {
         genericData.EnsureTableExists(s.Name, s.Columns, s.Indices, renameColumns);
     }
 }
Пример #2
0
 protected void EnsureAllTablesInSchemaExist(IDataConnector genericData)
 {
     foreach (KeyValuePair<string, string> r in renameSchema)
     {
         genericData.RenameTable(r.Key, r.Value);
     }
     foreach (var s in Schema)
     {
         genericData.EnsureTableExists(s.Name, s.Columns, s.Indices, RenameColumns);
     }
 }
Пример #3
0
 protected void EnsureAllTablesInSchemaExist(IDataConnector genericData)
 {
     foreach (var s in schema)
     {
         genericData.EnsureTableExists(s.X1, s.X2);
     }
 }
Пример #4
0
 protected void EnsureAllTablesInSchemaExist(IDataConnector genericData)
 {
     foreach (System.Collections.Generic.KeyValuePair<string, string> r in renameSchema)
     {
         genericData.RenameTable(r.Key, r.Value);
     }
     foreach (var s in schema)
     {
         genericData.EnsureTableExists(s.X1, s.X2, renameColumns);
     }
 }