SchemaTableColumn.AllowDBNull 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
規定是否允許價值 DBNull 。
public: static initonly System::String ^ AllowDBNull;
public static readonly string AllowDBNull;
staticval mutable AllowDBNull : string
Public Shared ReadOnly AllowDBNull As String
欄位值
備註
若允許 DBNull 則回傳字串「true」;否則「假」。
Note
避免將主鍵欄位設 AllowDbNull 為「true」。 定義為主鍵的欄位可以設為 AllowDbNull,但不能為其指派空值。