SchemaTableColumn.AllowDBNull フィールド

定義

DBNull を許可するかどうかを指定します。

public: static initonly System::String ^ AllowDBNull;
public static readonly string AllowDBNull;
 staticval mutable AllowDBNull : string
Public Shared ReadOnly AllowDBNull As String 

フィールド値

注釈

DBNull が許可されている場合は、文字列 "true" を返します。それ以外の場合は "false" です。

Note

主キー列の AllowDbNull を "true" に設定しないでください。 主キーとして定義された列は AllowDbNullに設定できますが、null 値を割り当てることはできません。

適用対象

こちらもご覧ください