Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit 7a1e682

Browse files
committed
doc comments
1 parent 723b406 commit 7a1e682

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Community.Data.OData.Linq/OData/Query/ODataQuerySettings.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,13 @@ internal int? ModelBoundPageSize
6363
/// The default value is <c>true</c>.</value>
6464
public bool EnsureStableOrdering { get; set; }
6565

66+
/// <summary>
67+
/// Gets or sets timezone value which will be used to convert <see cref="DateTimeOffset"/> from filter query to <see cref="DateTime"/> when it is used as property type.
68+
/// </summary>
69+
/// <value><list type="">
70+
/// <item><c>TimeZoneInfo.Local</c> - default value. </item>
71+
/// <item><c>TimeZoneInfo.Utc</c> - useful when property of type <see cref="DateTimeOffset"/> can't be used in the model and as a workaround we have <see cref="DateTime"/> type and convention to store UTC values.</item>
72+
/// </list></value>
6673
public TimeZoneInfo DefaultTimeZone { get => defaultTimeZone ?? TimeZoneInfo.Local; set => defaultTimeZone = value; }
6774

6875
/// <summary>

0 commit comments

Comments
 (0)