Npgsql API Documentation

NpgsqlParameter.IsNullable Property

[This is preliminary documentation and subject to change.]

Gets or sets a value indicating whether the parameter accepts null values.

[Visual Basic]
<DefaultValue(Value=False)>
<Browsable(Browsable=False)>
<EditorBrowsable(State=(EditorBrowsableState.Advanced))>
<DesignOnly(IsDesignOnly=True)>
Public Property IsNullable As Boolean Implements _
   IDataParameter.IsNullable
[C#]
[DefaultValue(Value=False)]
[Browsable(Browsable=False)]
[EditorBrowsable(State=(EditorBrowsableState.Advanced))]
[DesignOnly(IsDesignOnly=True)]
public bool IsNullable {get; set;}

Property Value

true if null values are accepted; otherwise, false. The default is false.

Implements

IDataParameter.IsNullable

See Also

NpgsqlParameter Class | Npgsql Namespace