Migrating data from Access 97 to Postgres database
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Program.cs 786 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace acc_pgsql
  6. {
  7. class Program
  8. {
  9. static List<string> _statements;
  10. static void Main(string[] args)
  11. {
  12. _statements = new List<string>();
  13. Step1();
  14. Console.ReadLine();
  15. }
  16. /// <summary>
  17. /// Initialize seed data for Status, PartType, PartCode, Location,
  18. /// </summary>
  19. static void Step1()
  20. {
  21. string path = Environment.CurrentDirectory;
  22. path = System.IO.Path.Combine(path, "InitialSeedData.sql");
  23. string sql = FileHelper.ReadFile(path);
  24. //store this in list of strings to execuet in order
  25. }
  26. }
  27. }