Skip to content

Add missing options to QueryOver #2275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

fredericDelaporte
Copy link
Member

Fix #2270

Fix it by adding the missing options as extension methods, rather than documenting getting them through the underlying criteria. If that is accepted, then #2270 should be rewritten a bit.

Adds SetTimeout, SetFetchSize, SetComment.

It seems the IQueryOver interface tends to drop the Set prefix. Should theses extension methods do the same? It does not look to me as a proper convention, since methods are supposed to start with a verb. But if it is preferred to keep dropping the verb for the interface consistency, I will do.

hazzik
hazzik previously approved these changes Nov 27, 2019
@fredericDelaporte fredericDelaporte added this to the 5.3 milestone Dec 1, 2019
@fredericDelaporte fredericDelaporte merged commit 99d48f5 into nhibernate:master Dec 1, 2019
@fredericDelaporte fredericDelaporte deleted the missingQueryOverOptions branch December 1, 2019 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IQueryOver<T> is lacking some options
3 participants