Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.DomainModel Namespace / IHasAssignedId<IdT> Interface / SetAssignedIdTo Method
The value to assign to the Id property.
Version
SetAssignedIdTo Method
Enables developer to set the assigned Id of an object. This is not part of Entity since most entities do not have assigned Ids and since business rules will certainly vary as to what constitutes a valid, assigned Id for one object but not for another.
Syntax
void SetAssignedIdTo( 
   IdT assignedId
)

Parameters

assignedId
The value to assign to the Id property.
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