Skip to content

Commit cf9f230

Browse files
SeanKilleenRon Petrusha
authored andcommitted
Add time unit to DataContext.CommandTimeout (#2261)
1 parent 5fee677 commit cf9f230

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xml/System.Data.Linq/DataContext.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,13 +216,13 @@
216216
<ReturnType>System.Int32</ReturnType>
217217
</ReturnValue>
218218
<Docs>
219-
<summary>Gets or sets a value that increases the time-out period for queries that would otherwise time out during the default time-out period.</summary>
220-
<value>An integer value that increases the time-out period for queries that would otherwise time out during the default time-out period.</value>
219+
<summary>Gets or sets a value that increases the time-out period (in seconds) for queries that would otherwise time out during the default time-out period.</summary>
220+
<value>An integer value that increases the time-out period (in seconds) for queries that would otherwise time out during the default time-out period.</value>
221221
<remarks>
222222
<format type="text/markdown"><![CDATA[
223223
224224
## Remarks
225-
This property gets or sets the command time-out used to execute generated commands (`IDbCommands`). For more information, see <xref:System.Data.IDbCommand.CommandTimeout%2A>.
225+
This property gets or sets the command time-out (in seconds) used to execute generated commands (`IDbCommands`). For more information, see <xref:System.Data.IDbCommand.CommandTimeout%2A>.
226226
227227
When this property is not set, the default value of <xref:System.Data.IDbCommand.CommandTimeout%2A> is used for query command execution. This default value is set by the storage provider. Note that some providers may throw exceptions if this value is set to a non-zero value.
228228
@@ -1628,4 +1628,4 @@ public IEnumerable<T> Translate<T>(IDataReader reader) {}
16281628
</Docs>
16291629
</Member>
16301630
</Members>
1631-
</Type>
1631+
</Type>

0 commit comments

Comments
 (0)