Identity


InsertKeepIdentity

Gets or sets if the source identity value should be preserved on Insert. When not specified, identity values are assigned by the destination.

Read more: InsertKeepIdentity

Example

context.Insert(options => options.InsertKeepIdentity = true);

MergeKeepIdentity

Gets or sets if the source identity value should be preserved on Merge. When not specified, identity values are assigned by the destination.

Read more: MergeKeepIdentity

Example

context.BulkMerge(options => options.MergeKeepIdentity = true);

SynchronizeKeepIdentity

Gets or sets if the source identity value should be preserved on Synchronize. When not specified, identity values are assigned by the destination.

Read more: SynchronizeKeepIdentity

Example

context.BulkSynchronize(options => options.SynchronizeKeepIdentity = true);