From 186b85a6b04ead03cf916bf8dd6a02bd64dde6c2 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Mon, 9 May 2016 15:49:34 -0700 Subject: [PATCH] [doc] Import documentation updates --- DATabaseTwo/Import.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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");