DevForce Help Reference
ForceIdFixup Method


Force an immediate update of all auto-generated IDs.
Syntax
'Declaration
 
Public Sub ForceIdFixup() 
'Usage
 
Dim instance As EntityManager
 
instance.ForceIdFixup()
public void ForceIdFixup()
Exceptions
ExceptionDescription
IdeaBlade.Core.IdeaBladeException Base class for exception types within the IdeaBlade DevForce framework.
EntityServerExceptionLogin, connection, ID fixup failures
Remarks
Auto-generated temporary IDs are automatically "fixed up" during save processing. You can force that fixup to be done prior to a save by calling this method. An exception will be thrown if any entity properties whose schema definition has a StoreGeneratedPattern="identity" attribute are pending fixup, since these IDs can only be assigned during a save operation.
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

Reference

EntityManager Class
EntityManager Members

Send Feedback