| 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(); | |
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.
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