Skip to content

NH-3922 - The various timeout methods should indicate time unit #769

Closed
@nhibernate-bot

Description

@nhibernate-bot

Oskar Berggren created an issue — 20th November 2016, 14:59:15:

IQuery.SetTimeout(timeout)
LinqExtensionMethods.Timeout(this queryable, timeout)
possibly more?

The "timeout" is just an integer parameter. Nor are there code comments to indicate the time unit of the value. We should add comments and rename the variable to timeoutSeconds (I think). Possibly provide a TimeSpan-based overload.


Alexander Zaytsev added a comment — 14th September 2017, 1:57:24:

Move minor and trivial improvements to 5.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions