IsNullable Property
Collapse the table of content
Expand the table of content

DataObjectFieldAttribute.IsNullable Property

 

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

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public bool IsNullable { get; }

Property Value

Type: System.Boolean

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

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.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft