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

Code before:
                        || !property.GetValueComparer().Equals(
                            Update.ColumnModification.GetCurrentValue(entry, property),
                            property.Sentinel))
                    {
                        _currentValue = currentProviderValue;
                    }

                    _write = true;

                    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
            };


Review comment (suggestion):
Corrected spelling of 'enties' to 'entities'.
```suggestion
        ///     Attempts to propagate the recorded value from other entities in this command to the specified entry.
```

Code after:
                        || !property.GetValueComparer().Equals(
                            Update.ColumnModification.GetCurrentValue(entry, property),
                            property.Sentinel))
                    {
                        _currentValue = currentProviderValue;
                    }

                    _write = true;

                    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
            };