Visual Basic (Declaration) | |
---|---|
<ExtensionAttribute()> Public Shared Sub RejectChanges( _ ByVal entity As EntityAspect _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim entity As EntityAspect EntityAspectExtensions.RejectChanges(entity) |
C# | |
---|---|
[ExtensionAttribute()] public static void RejectChanges( EntityAspect entity ) |
C++/CLI | |
---|---|
[ExtensionAttribute()] public: static void RejectChanges( EntityAspect^ entity ) |
Parameters
- entity
Rejects any changes made to the Entity since the last save operation. This will also remove the Entity from the EntityManager if it was an 'added' object.
The IdeaBlade.EntityModel.EntityGroup.EntityChanging and IdeaBlade.EntityModel.EntityGroup.EntityChanged events will fire during a RejectChanges call with an EntityAction of IdeaBlade.EntityModel.EntityAction.Rollback.
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
Reference
EntityAspectExtensions ClassEntityAspectExtensions Members
IdeaBlade.EntityModel.Entity.RejectChanges
IdeaBlade.EntityModel.Entity.RemoveFromManager()