Entity Framework Extensions Ignore OnMergeInsert Expression

The IgnoreOnMergeInsertExpression allows you to ignore some columns when the BulkMerge method executes the insert statement and these columns will only be used in update statement.

The following example ignores the Description property in insertion and will be considered when updating the records.

using (var context = new EntityContext())
    context.BulkMerge(list, options => 
        options.IgnoreOnMergeInsertExpression = customer => new 

Try it in EF6 | Try it in EF Core