IdeaBlade DevForce 2010 Help Reference
ForceIdFixup Method
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityManager Class : ForceIdFixup Method



Force an immediate update of all auto-generated IDs.

Syntax

Visual Basic (Declaration) 
Public Sub ForceIdFixup() 
Visual Basic (Usage)Copy Code
Dim instance As EntityManager
 
instance.ForceIdFixup()
C# 
public void ForceIdFixup()
C++/CLI 
public:
void ForceIdFixup(); 

Exceptions

ExceptionDescription
IdeaBlade.Core.IdeaBladeException 
IdeaBlade.EntityModel.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 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

See Also

© 2013 All Rights Reserved.