NVarCharType

Classes > Migration > NVarCharType

Variable-length Unicode character string up to max length. Uses 2 bytes per character (UCS-2/UTF-16).

public sealed record NVarCharType : PortableType, IEquatable<PortableType>, IEquatable<NVarCharType>

Constructors

NVarCharType

public NVarCharType(int MaxLength)

Variable-length Unicode character string up to max length. Uses 2 bytes per character (UCS-2/UTF-16).

Parameter Type Description
MaxLength Int32 Maximum characters (1-4000, or int.MaxValue for MAX)

Properties

MaxLength

public int MaxLength { get; init; }

Maximum characters (1-4000, or int.MaxValue for MAX)