DbParameter.IsNullable Właściwość

Definicja

Pobiera lub ustawia wartość wskazującą, czy parametr akceptuje wartości null.

public:
 abstract property bool IsNullable { bool get(); void set(bool value); };
public abstract bool IsNullable { get; set; }
[System.ComponentModel.Browsable(false)]
public abstract bool IsNullable { get; set; }
member this.IsNullable : bool with get, set
[<System.ComponentModel.Browsable(false)>]
member this.IsNullable : bool with get, set
Public MustOverride Property IsNullable As Boolean

Wartość właściwości

true jeśli akceptowane są wartości null; w przeciwnym razie false. Wartość domyślna to false.

Atrybuty

Uwagi

Wartości null są obsługiwane przy użyciu DBNull klasy .

Dotyczy

Zobacz też