Class MergeNotMatchedBySourceBuilder<TEntity>
Terminal of a full-MERGE WHEN NOT MATCHED BY SOURCE branch, produced by
WhenNotMatchedBySource(). Only SQL Server renders this branch; the
other dialects reject it with NotSupportedException.
public sealed class MergeNotMatchedBySourceBuilder<TEntity>
Type Parameters
TEntityThe mapped entity type merged.
- Inheritance
-
MergeNotMatchedBySourceBuilder<TEntity>
- Inherited Members
- Extension Methods
Methods
ThenDelete()
Deletes the target row that has no matching source row.
public MergeBuilder<TEntity> ThenDelete()
Returns
- MergeBuilder<TEntity>
The originating merge builder, for chaining further branches.
ThenDoNothing()
Leaves the target row that has no matching source row unchanged (DO NOTHING; PostgreSQL only).
public MergeBuilder<TEntity> ThenDoNothing()
Returns
- MergeBuilder<TEntity>
The originating merge builder, for chaining further branches.