fix: Fixed cultureinfo sqlite connection for 4 series compatability

This commit is contained in:
Drew Tingen
2020-08-13 22:41:31 -04:00
parent a74cdc5614
commit 8dd8d48a8b

View File

@@ -97,9 +97,9 @@ namespace ICD.Common.Utils.Globalization
private const string SQL_LOCAL_DATABASE_FILE = "CultureInfo.sqlite";
private const string SQL_CONNECTION_STRING_FORMAT =
#if SIMPLSHARP
"Data Source = {0}; Version = 3; ReadOnly = True";
"Data Source={0};Version=3;ReadOnly=True";
#else
"Data Source = {0}";
"Data Source={0}";
#endif
private const string SQL_CMD_SELECT_BY_NAME = "select * from cultureinfo where name = @name collate nocase";
private const string SQL_CMD_SELECT_BY_LCID = "select * from cultureinfo where lcid = @lcid";