Skip to content

Commit 502c54f

Browse files
committed
fixed GetUninitializedLazyProperties precondition
1 parent 503f6d2 commit 502c54f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NHibernate/Tuple/Entity/BytecodeEnhancementMetadataPocoImpl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public ISet<string> GetUninitializedLazyProperties(object entity)
189189
/// <inheritdoc />
190190
public ISet<string> GetUninitializedLazyProperties(object[] entityState)
191191
{
192-
if (LazyPropertiesMetadata.HasLazyProperties)
192+
if (!LazyPropertiesMetadata.HasLazyProperties)
193193
{
194194
return CollectionHelper.EmptySet<string>();
195195
}

0 commit comments

Comments
 (0)