Skip to main content

XPMemberInfo.IsNullable Property

Determines if a nullable column should be created when updating the database schema for the persistent class member described by the current XPMemberInfo object.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public bool? IsNullable { get; }

Property Value

Type Description
Nullable<Boolean>

true, if a nullable column is created, otherwise, false.

Remarks

To change the IsNullable value, apply the NullableAttribute to the current member declaration. To change the IsNullable value for the entire persistent class, apply the NullableBehaviorAttribute. You can also change this setting globally, using the static XpoDefault.NullableBehavior property.

See Also