dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlInterval Structure
Members

In This Topic
    PgSqlInterval Structure
    In This Topic
    Represents the PostgreSQL INTERVAL data type. Each object of the PgSqlInterval class stores a period of time in years, months, days, hours, minutes, seconds, and milliseconds.
    Syntax
    Remarks

    To obtain a PgSqlInterval object call the PgSqlDataReader.GetPgSqlInterval method of the PgSqlDataReader class.

    The data for this type is stored as two separate values on the server. One value is integer number of months, another is number of seconds in the interval. When two PgSqlInterval objects are compared, both values are checked for equality, and, if either fails, two PgSqlInterval objects are considered different.

    Inheritance Hierarchy

    System.Object
       System.ValueType
          Devart.Data.PostgreSql.PgSqlInterval

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also