Class FieldLengthConstants
- Assembly
- Stratara.EventSourcing.EntityFrameworkCore.dll
Shared maximum-length defaults applied by ApplyDefaultStringLengths to common
string columns (Name, Description, Email, …) across all Stratara
entity configurations.
[ExcludeFromCodeCoverage]
public static class FieldLengthConstants
- Inheritance
-
FieldLengthConstants
- Inherited Members
Fields
Code
Maximum length of a short machine-friendly code (e.g. country code).
public const int Code = 64
Field Value
Description
Maximum length of a free-text description.
public const int Description = 4000
Field Value
Maximum length of an e-mail address (RFC 5321 upper bound).
public const int Email = 320
Field Value
Label
Maximum length of a UI label.
public const int Label = 255
Field Value
Name
Maximum length of a human display name.
public const int Name = 128
Field Value
Phone
Maximum length of a phone number including extension and formatting.
public const int Phone = 40
Field Value
Slug
Maximum length of a URL-safe slug.
public const int Slug = 64
Field Value
Url
Maximum length of a URL.
public const int Url = 2048