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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.