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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για