Class NullableBehaviorAttribute
- Namespace
- DevExpress.Xpo
- Assembly
- DevExpress.Xpo.v24.1.dll
Applied to persistent classes. Specifies if nullable columns should be created when updating the database schema for the target class.
[AttributeUsage(AttributeTargets.Class, Inherited = true)]
public sealed class NullableBehaviorAttribute : Attribute
- Inheritance
-
NullableBehaviorAttribute
- Inherited Members
Constructors
NullableBehaviorAttribute(NullableBehavior)
Initializes a new instance of the NullableBehaviorAttribute class.
public NullableBehaviorAttribute(NullableBehavior nullableBehavior)
Parameters
nullableBehavior
NullableBehaviorA NullableBehavior enumeration value specifying if a nullable column should be created when updating the database schema.
Properties
NullableBehavior
Gets a value indicating if nullable columns should be created when updating the database schema.
public NullableBehavior NullableBehavior { get; }
Property Value
- NullableBehavior
A NullableBehavior enumeration value specifying if a nullable column should be created when updating the database schema.