Share via


EntityContainer.IChangeTracking.AcceptChanges Method

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Resets the object’s state to unchanged by accepting the modifications.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
Private Sub AcceptChanges Implements IChangeTracking.AcceptChanges
'Usage
Dim instance As EntityContainer

CType(instance, IChangeTracking).AcceptChanges()
void IChangeTracking.AcceptChanges()
private:
virtual void AcceptChanges() sealed = IChangeTracking::AcceptChanges
private abstract AcceptChanges : unit -> unit 
private override AcceptChanges : unit -> unit 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Implements

IChangeTracking.AcceptChanges()

Remarks

This member is an explicit interface member implementation. It can be used only when the EntityContainer instance is cast to an IChangeTracking interface.

See Also

Reference

EntityContainer Class

System.ServiceModel.DomainServices.Client Namespace