Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Common Namespace / UrlEncodedDictionary Class / Replace Method
the value from the detached entity being merged
the value in the managed entity
the managed entity
Version
Replace Method (UrlEncodedDictionary)
During merge, replace the existing (target) value in the entity we are merging to with a new (original) value from the detached entity we are merging. For immutable objects, or null values, it is safe to simply return the first parameter. For mutable objects, it is safe to return a copy of the first parameter. For objects with component values, it might make sense to recursively replace component values.
Syntax

Parameters

original
the value from the detached entity being merged
target
the value in the managed entity
owner
the managed entity

Return Value

the value to be merged
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also