Repository: dotnet/efcore
File: src/EFCore.Relational/Update/ModificationCommand.cs (C#)

Code before:

                    break;
                case EntityState.Deleted:
                    _originalValue = Update.ColumnModification.GetOriginalProviderValue(entry, property);
                    _originalValueInitialized = true;
                    if (!_write
                        && !property.IsPrimaryKey())
                    {
                        _write = true;
                        _currentValue = null;
                    }

                    break;
            }
        }

        /// <summary>
        ///     Attempts to propagate the recorded value from other enties in this command to the specified entry.
        /// </summary>
        /// <param name="mapping">The column mapping for which the value may be propagated.</param>
        /// <param name="entry">The entry that may receive the propagated value.</param>
        /// <returns>
        ///     <see langword="true" /> if no value was recorded (column should not be written), or if the value was
        ///     successfully propagated to <paramref name="entry" />.
        ///     <see langword="false" /> if a value was recorded for this column (i.e. the column should be written)
        ///     but propagation to <paramref name="entry" /> was skipped because the entry is the source of the write;
        /// </returns>
        public bool TryPropagate(IColumnMappingBase mapping, IUpdateEntry entry)
        {
            if (!_write)
            {
                return true;
            }

            var property = mapping.Property;
            var shouldPropagate = entry.EntityState switch
            {
                EntityState.Unchanged => true,
                EntityState.Modified => !Update.ColumnModification.IsModified(entry, property),
                EntityState.Added => ShouldPropagateForAddedEntry(mapping, entry, property),
                _ => false
            };

            if (!shouldPropagate)
            {
                return false;
            }

            if ((property.GetAfterSaveBehavior() == PropertySaveBehavior.Save
                    || entry.EntityState == EntityState.Added)
                && property.ValueGenerated != ValueGenerated.Never)

Review comment (suggestion):
Line 1263 ends with a semicolon but should end with a period for consistency with standard documentation punctuation.
```suggestion
        ///     but propagation to <paramref name="entry" /> was skipped because the entry is the source of the write.
```

Code after:

                    break;
                case EntityState.Deleted:
                    _originalValue = Update.ColumnModification.GetOriginalProviderValue(entry, property);
                    _originalValueInitialized = true;
                    if (!_write
                        && !property.IsPrimaryKey())
                    {
                        _write = true;
                        _currentValue = null;
                    }

                    break;
            }
        }

        /// <summary>
        ///     Attempts to propagate the recorded value from other entries in this command to the specified entry.
        /// </summary>
        /// <param name="mapping">The column mapping for which the value may be propagated.</param>
        /// <param name="entry">The entry that may receive the propagated value.</param>
        /// <returns>
        ///     <see langword="true" /> if no value was recorded (column should not be written), or if the value was
        ///     successfully propagated to <paramref name="entry" />;
        ///     <see langword="false" /> if a value was recorded for this column (i.e. the column should be written)
        ///     but propagation to <paramref name="entry" /> was skipped because the entry is the source of the write.
        /// </returns>
        public bool TryPropagate(IColumnMappingBase mapping, IUpdateEntry entry)
        {
            if (!_write)
            {
                return true;
            }

            var property = mapping.Property;
            var shouldPropagate = entry.EntityState switch
            {
                EntityState.Unchanged => true,
                EntityState.Modified => !Update.ColumnModification.IsModified(entry, property),
                EntityState.Added => ShouldPropagateForAddedEntry(mapping, entry, property),
                _ => false
            };

            if (!shouldPropagate)
            {
                return false;
            }

            if ((property.GetAfterSaveBehavior() == PropertySaveBehavior.Save
                    || entry.EntityState == EntityState.Added)
                && property.ValueGenerated != ValueGenerated.Never)