Entity Framework Extensions IgnoreOnMergeUpdateExpression


Gets or sets columns to ignore when the BulkMerge method executes the insert statement.

context.BulkMerge(list, options => 
        options.IgnoreOnMergeUpdateExpression = entity => new {entity.ModifiedDate, entity.ModifiedUser}


The IgnoreOnMergeInsertExpression option lets you ignore some columns that should only be `updated.

By example, when to update the ModifiedData and ModifiedUser but not insert value.

In this Page