Skip to content

Commit 3693c99

Browse files
Add a comment
1 parent a342bf1 commit 3693c99

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/NHibernate/Action/EntityInsertAction.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public override void Execute()
4949
// else inserted the same pk first, the insert would fail
5050
if (!veto)
5151
{
52+
// The identifier may be a foreign delayed identifier, which at this point should have been resolved.
5253
if (id is DelayedPostInsertIdentifier delayed)
5354
{
5455
wasDelayed = true;

src/NHibernate/Async/Action/EntityInsertAction.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public override async Task ExecuteAsync(CancellationToken cancellationToken)
4545
// else inserted the same pk first, the insert would fail
4646
if (!veto)
4747
{
48+
// The identifier may be a foreign delayed identifier, which at this point should have been resolved.
4849
if (id is DelayedPostInsertIdentifier delayed)
4950
{
5051
wasDelayed = true;

0 commit comments

Comments
 (0)