welsonjs/WelsonJS.Toolkit/EsentInterop/jet_coltyp.cs
2025-06-24 17:55:34 +09:00

84 lines
2.0 KiB
C#

//-----------------------------------------------------------------------
// <copyright file="jet_coltyp.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation.
// </copyright>
//-----------------------------------------------------------------------
namespace Microsoft.Isam.Esent.Interop
{
using Microsoft.Isam.Esent.Interop.Vista;
/// <summary>
/// ESENT column types. This list is not extensive. Some column types introduced later
/// are in different classes, such as <see cref="VistaColtyp"/>.
/// <seealso cref="VistaColtyp"/>
/// <seealso cref="Windows10.Windows10Coltyp"/>
/// </summary>
public enum JET_coltyp
{
/// <summary>
/// Null column type. Invalid for column creation.
/// </summary>
Nil = 0,
/// <summary>
/// True, False or NULL.
/// </summary>
Bit = 1,
/// <summary>
/// 1-byte integer, unsigned.
/// </summary>
UnsignedByte = 2,
/// <summary>
/// 2-byte integer, signed.
/// </summary>
Short = 3,
/// <summary>
/// 4-byte integer, signed.
/// </summary>
Long = 4,
/// <summary>
/// 8-byte integer, signed.
/// </summary>
Currency = 5,
/// <summary>
/// 4-byte IEEE single-precisions.
/// </summary>
IEEESingle = 6,
/// <summary>
/// 8-byte IEEE double-precision.
/// </summary>
IEEEDouble = 7,
/// <summary>
/// Integral date, fractional time.
/// </summary>
DateTime = 8,
/// <summary>
/// Binary data, up to 255 bytes.
/// </summary>
Binary = 9,
/// <summary>
/// Text data, up to 255 bytes.
/// </summary>
Text = 10,
/// <summary>
/// Binary data, up to 2GB.
/// </summary>
LongBinary = 11,
/// <summary>
/// Text data, up to 2GB.
/// </summary>
LongText = 12,
}
}