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



Teradata.Client.Provider Namespace > TdConnectionStringBuilder Class : EnableDateTimeOffset Property
Enables and disables mapping of TIMESTAMP WITH ZONE to DateTimeOffset
Syntax
'Declaration
 
Public Property EnableDateTimeOffset As Boolean
'Usage
 
Dim instance As TdConnectionStringBuilder
Dim value As Boolean
 
instance.EnableDateTimeOffset = value
 
value = instance.EnableDateTimeOffset
public bool EnableDateTimeOffset {get; set;}
public:
property bool EnableDateTimeOffset {
   bool get();
   void set (    bool value);
}

Property Value

Defaults to true. It can be set to false to disable creation of System.DateTimeOffset value types for Teradata Timestamp With Zone data type.
Remarks

If set to false, Teradata Timestamp With Zone date types will be mapped to System.String.

Default Value: true

Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdConnectionStringBuilder Class
TdConnectionStringBuilder Members
TdParameter.Value