Send feedback on this topic.
Teradata.Client.Provider
IsNullable Property



Teradata.Client.Provider Namespace > TdParameter Class : IsNullable Property
Indicates whether the Value property can be set to DbNull.
Syntax
'Declaration
 
Public Overrides NotOverridable Property IsNullable As Boolean
'Usage
 
Dim instance As TdParameter
Dim value As Boolean
 
instance.IsNullable = value
 
value = instance.IsNullable
public override bool IsNullable {get; set;}
public:
property bool IsNullable {
   bool get() override;
   void set (    bool value) override;
}

Property Value

true if TdParameter.Value can be set to DbNull and false otherwise. The default value is false
Remarks

Every parameter sent to Teradata has a specific data type, for example INTEGER. IsNullable property is used as a Teradata data_type_attribute, for example INTEGER NOT NULL.

IsNullable attribute has no impact on the Value property. That is TdParameter.Value can always be set to System.DbNull.Value by the application or the Data Provider (output parameter).

Requirements

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdParameter Class
TdParameter Members