//-----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
//
//-----------------------------------------------------------------------
namespace Microsoft.Isam.Esent.Interop
{
///
/// Constants for the ESENT API. These don't have to be looked up via
/// system parameters.
///
public static partial class SystemParameters
{
///
/// The length of the prefix used to name files used by the database
/// engine.
///
public const int BaseNameLength = 3;
///
/// Maximum size of a table/column/index name.
///
public const int NameMost = 64;
///
/// Maximum size for columns which are not JET_coltyp.LongBinary
/// or JET_coltyp.LongText.
///
public const int ColumnMost = 255;
///
/// Maximum number of columns allowed in a table.
///
public const int ColumnsMost = 65248;
///
/// Maximum number of fixed columns allowed in a table.
///
public const int ColumnsFixedMost = 127;
///
/// Maximum number of variable-length columns allowed
/// in a table.
///
public const int ColumnsVarMost = 128;
///
/// Maximum number of tagged columns allowed in a table.
///
public const int ColumnsTaggedMost = 64993;
///
/// The number of pages that gives the smallest possible
/// temporary database.
///
public const int PageTempDBSmallest = 14;
///
/// The maximum length of a locale name (LOCALE_NAME_MAX_LENGTH from winnt.h).
///
public const int LocaleNameMaxLength = 85;
}
}