LinqToSql Plus 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.


Database Provider Supported:

  • SQL Server
  • SQL Azure

Ask our support team if you need this option for another provider

Prime Library