.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

XpoDefault.DefaultStringMappingFieldSize Property

Specifies the default size of the database column which the member's data is stored in. The default value is 100.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.1.dll


public static int DefaultStringMappingFieldSize { get; set; }
Public Shared Property DefaultStringMappingFieldSize As Integer

Property Value

Type Description

An integer value representing the default size of the database column created for persistent properties or fields.


You can override the default size for a specific member using the SizeAttribute.

See Also