This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public struct DbNullable<T>
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Structure DbNullable(Of T)

Type Parameters

T

The type exposes the following members.

Public Constructors

  Name Description
Public method DbNullable<(Of <(<'T>)>)>
Constructor

Public Methods

  Name Description
Public method Equals (Inherited from ValueType.)
Public operator Static member Explicit Narrowing Explicit Explicit Explicit
Explicit conversion from DbNullable<T> to T.
Public method GetHashCode (Inherited from ValueType.)
Public method GetType (Inherited from Object.)
Public operator Static member Implicit Widening Implicit Implicit Implicit
Implicit conversion from T to DbNullable<T>
Public method ToString (Inherited from ValueType.)

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)

Public Properties

  Name Description
Public property HasValue
Returns true if a value of type T or DBNull has been set.
Public property IsDbNull
Returns true if the value that has been set is DBNull.
Public property Value
Gets the value if one has been assigned.

See Also

Advanced