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



Forces this entity into the EntityState of Added.

Syntax

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

Remarks

You will usually have no reason to call this method from application code. The EntityState is automatically set to Added by the framework when a new entity is added to an EntityManager.

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.