diff --git a/DATabase/Partials/DATabase_Helpers.cs b/DATabase/Partials/DATabase_Helpers.cs index 82d613a0..6c2e3533 100644 --- a/DATabase/Partials/DATabase_Helpers.cs +++ b/DATabase/Partials/DATabase_Helpers.cs @@ -27,7 +27,7 @@ namespace SabreTools { Directory.CreateDirectory(_outroot); } - DBTools.EnsureDatabase(_dbName, _connectionString); + DatabaseTools.EnsureDatabase(_dbName, _connectionString); using (SqliteConnection dbc = new SqliteConnection(_connectionString)) { diff --git a/DATabase/Partials/DATabase_Inits.cs b/DATabase/Partials/DATabase_Inits.cs index 670404a0..4832fe01 100644 --- a/DATabase/Partials/DATabase_Inits.cs +++ b/DATabase/Partials/DATabase_Inits.cs @@ -541,7 +541,7 @@ namespace SabreTools /// Source URL(s) private static void InitAddSource(string name, string url) { - if (DBTools.AddSource(name, url, _connectionString)) + if (DatabaseTools.AddSource(name, url, _connectionString)) { _logger.Log("Source " + name + " added!"); } @@ -560,7 +560,7 @@ namespace SabreTools int srcid = -1; if (Int32.TryParse(sourceid, out srcid)) { - if (DBTools.RemoveSource(srcid, _connectionString)) + if (DatabaseTools.RemoveSource(srcid, _connectionString)) { _logger.Log("Source '" + srcid + "' removed!"); } @@ -582,7 +582,7 @@ namespace SabreTools /// System name private static void InitAddSystem(string manufacturer, string system) { - if (DBTools.AddSystem(manufacturer, system, _connectionString)) + if (DatabaseTools.AddSystem(manufacturer, system, _connectionString)) { _logger.Log("System " + manufacturer + " - " + system + " added!"); } @@ -601,7 +601,7 @@ namespace SabreTools int sysid = -1; if (Int32.TryParse(systemid, out sysid)) { - if (DBTools.RemoveSystem(sysid, _connectionString)) + if (DatabaseTools.RemoveSystem(sysid, _connectionString)) { _logger.Log("System '" + sysid + "' removed!"); } diff --git a/Deheader/Headerer.cs b/Deheader/Headerer.cs index ef7fb6eb..c1c09468 100644 --- a/Deheader/Headerer.cs +++ b/Deheader/Headerer.cs @@ -34,7 +34,7 @@ namespace SabreTools // Perform initial setup and verification logger = new Logger(true, "headerer.log"); logger.Start(); - DBTools.EnsureDatabase(_dbName, _connectionString); + DatabaseTools.EnsureDatabase(_dbName, _connectionString); Remapping.CreateHeaderSkips(); // Credits take precidence over all diff --git a/SabreHelper/DBTools.cs b/SabreHelper/DatabaseTools.cs similarity index 99% rename from SabreHelper/DBTools.cs rename to SabreHelper/DatabaseTools.cs index 44e678af..dba49f80 100644 --- a/SabreHelper/DBTools.cs +++ b/SabreHelper/DatabaseTools.cs @@ -7,7 +7,7 @@ namespace SabreTools.Helper /// /// All general database operations /// - public class DBTools + public class DatabaseTools { /// /// Ensure that the databse exists and has the proper schema diff --git a/SabreHelper/SabreHelper.csproj b/SabreHelper/SabreHelper.csproj index f9bc6679..52f2d268 100644 --- a/SabreHelper/SabreHelper.csproj +++ b/SabreHelper/SabreHelper.csproj @@ -92,7 +92,7 @@ - +