dotConnect for PostgreSQL Documentation
AllowDateTimeOffset Property
See Also
Devart.Data.PostgreSql Namespace > PgSqlConnectionStringBuilder Class : AllowDateTimeOffset Property

Determines whether to use the System.DateTimeOffset type instead of System.DateTime when PgSqlDataReader returns a timestamptz value.


Visual Basic (Declaration) 
Public Property AllowDateTimeOffset As Boolean
public bool AllowDateTimeOffset {get; set;}

Property Value

true, if the System.DateTimeOffset type should be used; otherwise false. Default value if false.


Platforms:Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8, Windows 10, Windows Server 2012 family.

See Also