Skip to content

NH-3470 - Allow Linq Query to load entities as read-only #908

@nhibernate-bot

Description

@nhibernate-bot

Dan Plaskon created an issue — 30th May 2013, 14:54:22:

For example, using QueryOver you can use:

Session.QueryOver<Foo>().ReadOnly()

It would be great to have an equivalent method available when loading entities with the linq provider; something along the lines of:

Session.Query<Foo>().AsReadOnly()


Ricardo Peres added a comment — 14th March 2014, 10:15:46:

Pull request: #260


Ricardo Peres added a comment — 9th September 2014, 8:09:02:

Duplicates NH-3658


Ricardo Peres added a comment — 20th November 2014, 17:46:22:

Pull request included in issue NH-2140.


Ricardo Peres added a comment — 16th April 2015, 8:13:08:

New pull request: #418


Alexander Zaytsev added a comment — 12th August 2016, 4:40:11:

Move unresolved improvements and new features with minor and trivial priorities to 4.2.0


Frédéric Delaporte added a comment — 19th April 2017, 17:32:12:

If NH-3987 gets done, this improvement will depend on it.


Alexander Zaytsev added a comment — 14th September 2017, 1:47:17:

Move issues from 4.2 to 5.0


Alexander Zaytsev added a comment — 14th September 2017, 1:50:03:

Move new features 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