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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.