ObjectContext.AcceptAllChanges-Methode
[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]
Übernimmt alle Änderungen, die an Objekten im Objektkontext vorgenommen werden.
Namespace: System.Data.Entity.Core.Objects
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
Public Overridable Sub AcceptAllChanges
'Usage
Dim instance As ObjectContext
instance.AcceptAllChanges()
public virtual void AcceptAllChanges()
public:
virtual void AcceptAllChanges()
abstract AcceptAllChanges : unit -> unit
override AcceptAllChanges : unit -> unit
public function AcceptAllChanges()