Skip to content

Commit 404b66c

Browse files
Wording fixes in code documentation
1 parent 9842d3b commit 404b66c

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

src/NHibernate/Cfg/Environment.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,19 +205,19 @@ public static string Version
205205

206206
/// <summary>
207207
/// Set the default length used in casting when the target type is length bound and
208-
/// does not specify it. <c>4000</c> by default, automatically trim down according to dialect type registration.
208+
/// does not specify it. <c>4000</c> by default, automatically trimmed down according to dialect type registration.
209209
/// </summary>
210210
public const string QueryDefaultCastLength = "query.default_cast_length";
211211

212212
/// <summary>
213213
/// Set the default precision used in casting when the target type is decimal and
214-
/// does not specify it. <c>28</c> by default, automatically trim down according to dialect type registration.
214+
/// does not specify it. <c>28</c> by default, automatically trimmed down according to dialect type registration.
215215
/// </summary>
216216
public const string QueryDefaultCastPrecision = "query.default_cast_precision";
217217

218218
/// <summary>
219219
/// Set the default scale used in casting when the target type is decimal and
220-
/// does not specify it. <c>10</c> by default, automatically trim down according to dialect type registration.
220+
/// does not specify it. <c>10</c> by default, automatically trimmed down according to dialect type registration.
221221
/// </summary>
222222
public const string QueryDefaultCastScale = "query.default_cast_scale";
223223

src/NHibernate/IDetachedQuery.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public interface IDetachedQuery
213213
/// </summary>
214214
/// <param name="position">The position of the parameter in the query string, numbered from <c>0</c></param>
215215
/// <param name="val">A non-null instance of a <see cref="DateTime"/>.</param>
216-
/// <remarks>Since v5.0, does no more cut milliseconds. Use <see cref="SetDateTimeNoMs(int, DateTime)" />
216+
/// <remarks>Since v5.0, does no more cut fractional seconds. Use <see cref="SetDateTimeNoMs(int, DateTime)" />
217217
/// for this</remarks>
218218
IDetachedQuery SetDateTime(int position, DateTime val);
219219

@@ -223,7 +223,7 @@ public interface IDetachedQuery
223223
/// </summary>
224224
/// <param name="val">A non-null instance of a <see cref="DateTime"/>.</param>
225225
/// <param name="name">The name of the parameter</param>
226-
/// <remarks>Since v5.0, does no more cut milliseconds. Use <see cref="SetDateTimeNoMs(string, DateTime)" />
226+
/// <remarks>Since v5.0, does no more cut fractional seconds. Use <see cref="SetDateTimeNoMs(string, DateTime)" />
227227
/// for this</remarks>
228228
IDetachedQuery SetDateTime(string name, DateTime val);
229229

src/NHibernate/IMultiQuery.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public partial interface IMultiQuery
241241
/// <param name="val">A non-null instance of a <see cref="DateTime"/>.</param>
242242
/// <param name="name">The name of the parameter</param>
243243
/// <returns>The instance for method chain.</returns>
244-
/// <remarks>Since v5.0, does no more cut milliseconds. Use <see cref="SetDateTimeNoMs" />
244+
/// <remarks>Since v5.0, does no more cut fractional seconds. Use <see cref="SetDateTimeNoMs" />
245245
/// for this</remarks>
246246
IMultiQuery SetDateTime(string name, DateTime val);
247247

src/NHibernate/IQuery.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ public partial interface IQuery
402402
/// </summary>
403403
/// <param name="position">The position of the parameter in the query string, numbered from <c>0</c></param>
404404
/// <param name="val">A non-null instance of a <see cref="DateTime"/>.</param>
405-
/// <remarks>Since v5.0, does no more cut milliseconds. Use <see cref="SetDateTimeNoMs(int, DateTime)" />
405+
/// <remarks>Since v5.0, does no more cut fractional seconds. Use <see cref="SetDateTimeNoMs(int, DateTime)" />
406406
/// for this</remarks>
407407
IQuery SetDateTime(int position, DateTime val);
408408

@@ -412,7 +412,7 @@ public partial interface IQuery
412412
/// </summary>
413413
/// <param name="val">A non-null instance of a <see cref="DateTime"/>.</param>
414414
/// <param name="name">The name of the parameter</param>
415-
/// <remarks>Since v5.0, does no more cut milliseconds. Use <see cref="SetDateTimeNoMs(string, DateTime)" />
415+
/// <remarks>Since v5.0, does no more cut fractional seconds. Use <see cref="SetDateTimeNoMs(string, DateTime)" />
416416
/// for this</remarks>
417417
IQuery SetDateTime(string name, DateTime val);
418418

src/NHibernate/NHibernateUtil.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public static IType GuessType(System.Type type)
113113
public static readonly CultureInfoType CultureInfo = new CultureInfoType();
114114

115115
/// <summary>
116-
/// NHibernate date time type. Since v5.0, does no more cut milliseconds.
116+
/// NHibernate date time type. Since v5.0, does no more cut fractional seconds.
117117
/// </summary>
118118
/// <remarks>Use <see cref="DateTimeNoMs" /> if needing cutting milliseconds.</remarks>
119119
public static readonly DateTimeType DateTime = new DateTimeType();

src/NHibernate/nhibernate-configuration.xsd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,23 +173,23 @@
173173
<xs:annotation>
174174
<xs:documentation>
175175
Set the default length used in casting when the target type is length bound and
176-
does not specify it. 4000 by default, automatically trim down according to dialect type registration.
176+
does not specify it. 4000 by default, automatically trimmed down according to dialect type registration.
177177
</xs:documentation>
178178
</xs:annotation>
179179
</xs:enumeration>
180180
<xs:enumeration value="query.default_cast_precision">
181181
<xs:annotation>
182182
<xs:documentation>
183183
Set the default precision used in casting when the target type is decimal and
184-
does not specify it. 28 by default, automatically trim down according to dialect type registration.
184+
does not specify it. 28 by default, automatically trimmed down according to dialect type registration.
185185
</xs:documentation>
186186
</xs:annotation>
187187
</xs:enumeration>
188188
<xs:enumeration value="query.default_cast_scale">
189189
<xs:annotation>
190190
<xs:documentation>
191191
Set the default scale used in casting when the target type is decimal and
192-
does not specify it. 10 by default, automatically trim down according to dialect type registration.
192+
does not specify it. 10 by default, automatically trimmed down according to dialect type registration.
193193
</xs:documentation>
194194
</xs:annotation>
195195
</xs:enumeration>

0 commit comments

Comments
 (0)