MergeOption Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The different ways that new objects loaded from the database can be merged with existing objects already in memory.
public enum MergeOption
type MergeOption =
Public Enum MergeOption
- Inheritance
-
MergeOption
Fields
Name | Value | Description |
---|---|---|
AppendOnly | 0 | Will only append new (top level-unique) rows. This is the default behavior. |
OverwriteChanges | 1 | Same behavior as LoadOption.OverwriteChanges. |
PreserveChanges | 2 | Same behavior as LoadOption.PreserveChanges. |
NoTracking | 3 | Will not modify cache. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework