mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 21:24:58 +00:00
fix: Fixed cultureinfo sqlite connection for 4 series compatability
This commit is contained in:
@@ -97,9 +97,9 @@ namespace ICD.Common.Utils.Globalization
|
|||||||
private const string SQL_LOCAL_DATABASE_FILE = "CultureInfo.sqlite";
|
private const string SQL_LOCAL_DATABASE_FILE = "CultureInfo.sqlite";
|
||||||
private const string SQL_CONNECTION_STRING_FORMAT =
|
private const string SQL_CONNECTION_STRING_FORMAT =
|
||||||
#if SIMPLSHARP
|
#if SIMPLSHARP
|
||||||
"Data Source = {0}; Version = 3; ReadOnly = True";
|
"Data Source={0};Version=3;ReadOnly=True";
|
||||||
#else
|
#else
|
||||||
"Data Source = {0}";
|
"Data Source={0}";
|
||||||
#endif
|
#endif
|
||||||
private const string SQL_CMD_SELECT_BY_NAME = "select * from cultureinfo where name = @name collate nocase";
|
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";
|
private const string SQL_CMD_SELECT_BY_LCID = "select * from cultureinfo where lcid = @lcid";
|
||||||
|
|||||||
Reference in New Issue
Block a user