ConnectionProviderSql.MapWindowsToIanaTimeZoneId Field
Specifies a custom function that converts a time zone identifier from Windows to IANA format.
Namespace: DevExpress.Xpo.DB
Assembly: DevExpress.Data.v26.1.dll
Declaration
Field Value
| Type | Description |
|---|---|
| Func<String, String> | A method that accepts a Windows time zone identifier and returns the corresponding IANA time zone identifier. |
Remarks
The MapWindowsToIanaTimeZoneId implementation can be required for CriteriaOperator functions that work with DateTimeOffset values.
Default Behaviour
- In .NET applications, the default conversion logic is based on the TryConvertWindowsIdToIanaId(String, String) method.
- In .NET Framework applications, an
InvalidOperationExceptionis thrown if no custom conversion function is specified.
See Also