SchemaTableColumn.AllowDBNull Field
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.
Specifies whether value DBNull
is allowed.
public: static initonly System::String ^ AllowDBNull;
public static readonly string AllowDBNull;
staticval mutable AllowDBNull : string
Public Shared ReadOnly AllowDBNull As String
Field Value
Remarks
Returns the string "true" if DBNull is allowed; otherwise "false".
Note
Avoid setting AllowDbNull
to "true" for primary key columns. A column defined as a primary key can be set to AllowDbNull
, but a null value cannot be assigned to it.
Applies to
See also
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.