Skip to main content
.NET 6.0+

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.v24.1.dll

NuGet Package: DevExpress.Xpo


public static int DefaultStringMappingFieldSize { get; set; }

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