Bewerken

Delen via


DataObjectFieldAttribute.IsNullable Property

Definition

Gets a value indicating whether a property represents a field that can be null in the underlying data store.

public:
 property bool IsNullable { bool get(); };
public bool IsNullable { get; }
member this.IsNullable : bool
Public ReadOnly Property IsNullable As Boolean

Property Value

true if the property represents a field that can be null in the underlying data store; otherwise, false.

Remarks

Set the IsNullable property to true when then DataObjectFieldAttribute attribute is applied to a property that represents a field in the underlying data store that can be set to null. The value that represents null in the data store may be different from null in the programming language.

Set the IsNullable property with one of the DataObjectFieldAttribute constructors.

Applies to