diff --git a/DATabaseTwo/Import.cs b/DATabaseTwo/Import.cs index a5d9ea57..2f56efa8 100644 --- a/DATabaseTwo/Import.cs +++ b/DATabaseTwo/Import.cs @@ -37,6 +37,13 @@ namespace SabreTools private static string _truripPattern = @"^(.*) - .* \(trurip_XML\)\.dat$"; private static string _zandroPattern = @"^SMW-.*.xml"; + /// + /// Initialize an Import object with the given information + /// + /// Root directory where all DAT files are held + /// Connection string for SQLite + /// Logger object for file or console output + /// False if each DAT that has no defined source asks for user input (default), true otherwise public Import(string datroot, string connectionString, Logger logger, bool ignore = false) { _datroot = datroot; @@ -48,7 +55,7 @@ namespace SabreTools /// /// Perform initial or incremental import of DATs in the root folder /// - /// False if each DAT that has no defined source asks for user input (default), true otherwise + /// True if the data could be inserted or updated correctly, false otherwise public bool ImportData() { _logger.Log("Beginning import/update process");