DevForce Help Reference
ForceIdFixupAsync Method (EntityManager)


Perform an asynchronous ForceIdFixup operation.
Syntax
'Declaration
 
Public Function ForceIdFixupAsync() As Task
'Usage
 
Dim instance As EntityManager
Dim value As Task
 
value = instance.ForceIdFixupAsync()
public Task ForceIdFixupAsync()
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