共用方式為


Generator.Nullable 屬性

取得或設定值,這個值表示此資料行是否可以設為 nullNull 參照 (即 Visual Basic 中的 Nothing)。

命名空間:  Microsoft.Data.Schema.Tools.DataGenerator
組件:  Microsoft.Data.Schema.Tools (在 Microsoft.Data.Schema.Tools.dll 中)

語法

'宣告
<InputAttribute(AutoAssignedInput := AutoAssignedInput.Nullable, Visible := False)> _
Public Property Nullable As Boolean
    Get
    Set
[InputAttribute(AutoAssignedInput = AutoAssignedInput.Nullable, Visible = false)]
public bool Nullable { get; set; }
[InputAttribute(AutoAssignedInput = AutoAssignedInput::Nullable, Visible = false)]
public:
property bool Nullable {
    bool get ();
    void set (bool value);
}
[<InputAttribute(AutoAssignedInput = AutoAssignedInput.Nullable, Visible = false)>]
member Nullable : bool with get, set
function get Nullable () : boolean
function set Nullable (value : boolean)

屬性值

型別:System.Boolean
如果這個資料行可以設為 nullNull 參照 (即 Visual Basic 中的 Nothing) 則為 true,否則為 false。

備註

這個屬性會以 InputAttributeAutoAssignedInput 具名參數來裝飾。

.NET Framework 安全性

請參閱

參考

Generator 類別

Microsoft.Data.Schema.Tools.DataGenerator 命名空間

InputAttribute

AutoAssignedInput