DataObjectFieldAttribute.IsNullable Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om