Visual Basic (Declaration) | |
---|---|
Public Sub AddToManager() |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As EntityAspect instance.AddToManager() |
C# | |
---|---|
public void AddToManager() |
C++/CLI | |
---|---|
public: void AddToManager(); |
The associated EntityManager will either be the EntityManager that was called to create this Entity (IdeaBlade.EntityModel.EntityManager.CreateEntity``1) or that was used to generate its ids ( EntityManager.GenerateId) If neither of these cases apply, then the InternalEntityManager's DefaultManager"/> will be used. There is no difference between AddToManager and IdeaBlade.EntityModel.EntityManager.AddEntity(IdeaBlade.EntityModel.Entity). Use either method to add a business object created by the EntityManager.CreateEntity method to the EntityManager cache. The object must have a "detached" IdeaBlade.EntityModel.Entity.EntityState, must not have ever been associated with another EntityManager and must have a unique EntityKey within the EntityManager to which it will be added.
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