2015-12-26 22:44:43 +00:00
|
|
|
|
|
2021-10-17 20:28:09 +00:00
|
|
|
|
using System.Globalization;
|
|
|
|
|
using Microsoft.Isam.Esent.Interop.Vista;
|
|
|
|
|
|
2015-12-26 22:44:43 +00:00
|
|
|
|
namespace DSInternals.DataStore
|
|
|
|
|
{
|
|
|
|
|
internal static class ADConstants
|
|
|
|
|
{
|
|
|
|
|
public const string DataTableName = "datatable";
|
|
|
|
|
public const string SystemTableName = "hiddentable";
|
|
|
|
|
public const string LinkTableName = "link_table";
|
|
|
|
|
public const string SecurityDescriptorTableName = "sd_table";
|
|
|
|
|
public const int GeneralizedTimeCoefficient = 10000000;
|
|
|
|
|
public const string EseBaseName = "edb";
|
2021-10-17 20:28:09 +00:00
|
|
|
|
public const string EseTempDatabaseName = "temp.edb";
|
2016-02-21 08:16:56 +00:00
|
|
|
|
public const int PageSize = 8192; // 8k
|
|
|
|
|
public const int EseLogFileSize = 10240; // 10M
|
2021-10-17 20:28:09 +00:00
|
|
|
|
public const int EseIndexDefaultLocale = 1033; // = DS_DEFAULT_LOCALE = EN-US | SORT_DEFAULT
|
|
|
|
|
public const int EseIndexDefaultCompareOptions = 0x00000001 | 0x00000002 | 0x00010000 | 0x00020000 | 0x00001000; // = DS_DEFAULT_LOCALE_COMPARE_FLAGS | LCMAP_SORTKEY = NORM_IGNORECASE | NORM_IGNOREKANATYPE | NORM_IGNORENONSPACE | NORM_IGNOREWIDTH | SORT_STRINGSORT
|
|
|
|
|
public const LegacyFileNames EseLegacyFileNames = LegacyFileNames.EightDotThreeSoftCompat | LegacyFileNames.ESE98FileNames;
|
|
|
|
|
public const int EseMaxOpenTables = 1000;
|
2016-01-14 11:06:11 +00:00
|
|
|
|
public const int NotAnObjectDNTag = 1;
|
2015-12-26 22:44:43 +00:00
|
|
|
|
public const int RootDNTag = 2;
|
2016-02-28 14:21:22 +00:00
|
|
|
|
public const int RootSecurityDescriptorId = 1;
|
2015-12-26 22:44:43 +00:00
|
|
|
|
}
|
|
|
|
|
}
|