XPClassInfo.NullableBehavior Property

Determines if nullable columns should be created when updating the database schema for the persistent class described by the current XPClassInfo object.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public NullableBehavior NullableBehavior { get; }
Public ReadOnly Property NullableBehavior As NullableBehavior
public NullableBehavior NullableBehavior { get; }
Public ReadOnly Property NullableBehavior As NullableBehavior

Property Value

Type Description
NullableBehavior

A NullableBehavior enumeration value specifying if a nullable column should be created when updating the database schema.

Property Value

Type Description
NullableBehavior

A NullableBehavior enumeration value specifying if a nullable column should be created when updating the database schema.

Remarks

To change the NullableBehavior value, apply the NullableBehaviorAttribute in the persistent class declaration. You can also change this setting globally, using the static XpoDefault.NullableBehavior property. To change behavior for an individual field, use the NullableAttribute attribute.

See Also