.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

FieldSizeAttribute Properties

Specifies the maximum number of characters that users can type in Property Editors of the current member. You can also specify the current member’s IModelMember.Size property in the Model Editor. If the value passed to the FieldSize attribute is more than the Size property value, Property Editors ignore the attribute. In the XPO data model, use the SizeAttribute instead of FieldSizeAttribute.
Name Description
Size Gets the size of the database column which the member’s data is stored in.
TypeId When implemented in a derived class, gets a unique identifier for this Attribute. Inherited from Attribute.
See Also