public static data_mapping_schema GetSchemaData() { data_mapping_schema aSchema = new data_mapping_schema(); DataTable allSchemas = aSchema.Search(aSchema.SearchSQL + " ORDER BY schema_name"); foreach (DataRow aRow in allSchemas.Rows) { aSchema = new data_mapping_schema(); aSchema.Load(aRow); } return(aSchema); }
public static void createImport() { data_mapping_schema aSchema = new data_mapping_schema(); DataTable allSchemas = aSchema.Search(aSchema.SearchSQL + " ORDER BY schema_name"); int c = 0; foreach (DataRow aRow in allSchemas.Rows) { aSchema = new data_mapping_schema(); aSchema.Load(aRow); if (c == 0) { dms = aSchema; c = 1; } } //dms = GetSchemaData(); GoImport(); //ImportThread.RunWorkerAsync(); }