From c4d94c992109b34475c98250b62fb55819214f21 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Thu, 24 Mar 2016 12:46:02 -0700 Subject: [PATCH] Change name of Importer to Import --- DATabase/DATabase.csproj | 6 +++++- DATabase/{Importer.cs => Import.cs} | 4 ++-- DATabase/Program.cs | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) rename DATabase/{Importer.cs => Import.cs} (99%) diff --git a/DATabase/DATabase.csproj b/DATabase/DATabase.csproj index ab350f22..d9218c3d 100644 --- a/DATabase/DATabase.csproj +++ b/DATabase/DATabase.csproj @@ -68,7 +68,7 @@ - + @@ -78,6 +78,10 @@ + + + + diff --git a/DATabase/Importer.cs b/DATabase/Import.cs similarity index 99% rename from DATabase/Importer.cs rename to DATabase/Import.cs index 2ae3d212..860779b0 100644 --- a/DATabase/Importer.cs +++ b/DATabase/Import.cs @@ -9,7 +9,7 @@ using System.Reflection; namespace DATabase { - public class Importer + public class Import { // Private instance variables private string _filepath; @@ -50,7 +50,7 @@ namespace DATabase } // Constructor - public Importer(string filepath, string connectionString) + public Import(string filepath, string connectionString) { if (File.Exists(filepath)) { diff --git a/DATabase/Program.cs b/DATabase/Program.cs index 5e09beae..58317ec9 100644 --- a/DATabase/Program.cs +++ b/DATabase/Program.cs @@ -39,7 +39,7 @@ namespace DATabase if (args.Length > 1 && File.Exists(args[1])) { Console.WriteLine(args[1]); - Importer imp = new Importer(args[1], _connectionString); + Import imp = new Import(args[1], _connectionString); imp.ImportData(); } // Check to see if the second argument is a directory that exists @@ -48,7 +48,7 @@ namespace DATabase foreach (string filename in Directory.GetFiles(args[1], "*", SearchOption.TopDirectoryOnly)) { Console.WriteLine(filename); - Importer imp = new Importer(filename, _connectionString); + Import imp = new Import(filename, _connectionString); imp.ImportData(); } }