ProviderTypeNLSSensitiveToString
This property specifies whether to honor the data type's NLS format when the ToString()
method is called.
Declaration
// C# public static bool ProviderTypeNLSSensitiveToString { get; set; }
Property Value
System.Boolean
Remarks
Default value is true
. When true
, ODP.NET honors the database session NLS format when ToString()
is called for the provider type.
Prior to version 23.6, ODP.NET returned data in a default format that ignored the database session's NLS format. If you wish to use this earlier behavior, set the property to false
.
This property applies to the following provider types: OracleDate
, OracleDecimal
, OracleTimeStamp
, OracleTimeStampLTZ
, and OracleTimeStampTZ
.