Skip to content

Support fetching individual lazy properties for Criteria EntityProjection #2347

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

bahusoid
Copy link
Member

@bahusoid bahusoid commented Apr 14, 2020

Related to #2097 (I forgot about Criteria EntityProjection) and #1922

@@ -33,12 +33,12 @@ public enum SelectMode
JoinOnly,

/// <summary>
/// Skips fetching for eagerly mapped association (no-op for lazy association).
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It won't skip lazy="false" association from loading - so better say it explicitly which case is handled here

@bahusoid bahusoid force-pushed the entityProjectionLazyProps branch from e8d7df4 to 09cae4d Compare April 18, 2020 16:39
@fredericDelaporte fredericDelaporte added this to the 5.3 milestone May 9, 2020
@fredericDelaporte fredericDelaporte merged commit fffb8d2 into nhibernate:master May 9, 2020
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.

2 participants