Visual Basic (Declaration) | |
---|---|
Public Enum MergeStrategy Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As MergeStrategy |
C# | |
---|---|
public enum MergeStrategy : System.Enum, System.IComparable, System.IConvertible, System.IFormattable |
C++/CLI | |
---|---|
public enum class MergeStrategy : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable |
Member | Description |
---|---|
NotApplicable | No merge action applies because there is no data source data. This merge strategy must be used – and may only be used – with the CacheOnly fetch strategy. |
OverwriteChanges | Overwrites the cached entity with incoming data and uses the EntityState of the incoming entity (will be Unchanged if the incoming entity is from the data source). |
PreserveChanges | Preserves (does not overwrite) any existing entities that have been changed (modified, added or deleted). |
PreserveChangesUnlessOriginalObsolete | Preserves the persistent state of the cached entity if the entity is current. Overwrites an entity if it is obsolete and gives it the EntityState of the incoming entity (will be Unchanged if the incoming entity is from the data source). |
PreserveChangesUpdateOriginal | Preserves the persistent state of the cached entity whether it is current or not. Overwrites the Original version of the entity if obsolete. |
System.Object
System.ValueType
System.Enum
IdeaBlade.EntityModel.MergeStrategy
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family