IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel.Extensions Namespace > EntityAspectExtensions Class : AcceptChanges Method |
'Declaration
<ExtensionAttribute()> Public Shared Sub AcceptChanges( _ ByVal entity As EntityAspect _ )
'Usage
Dim entity As EntityAspect EntityAspectExtensions.AcceptChanges(entity)
[Extension()] public static void AcceptChanges( EntityAspect entity )
The EntityChanging and EntityChanged events are fired with an EntityAction of IdeaBlade.EntityModel.EntityAction.Commit when this method is executed.
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