EntityDesignerChangeScope Class
Collapse the table of content
Expand the table of content

EntityDesignerChangeScope Class

Creates a unit of work that can be undone or redone with the Undo and Redo buttons in Visual Studio.


Namespace:  Microsoft.Data.Entity.Design.Extensibility
Assembly:  Microsoft.Data.Entity.Design.Extensibility (in Microsoft.Data.Entity.Design.Extensibility.dll)

public abstract class EntityDesignerChangeScope : IDisposable

The EntityDesignerChangeScope type exposes the following members.

Protected methodEntityDesignerChangeScopeInstantiates a new instance of EntityDesignerChangeScope.

Public methodCompleteCommits all operations within a change scope.
Public methodDisposeReleases all resources used by the current instance of the EntityDesignerChangeScope class.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

In a Visual Studio property extension, the EntityDesignerChangeScope class allows you to create a unit of work that can be undone or redone with the Undo and Redo buttons in Visual Studio. An instance of EntityDesignerChangeScope is created by the CreateChangeScope method.

For more information about extending the functionality of the ADO.NET Entity Data Model Tools, see Extending the Entity Data Model Tools and ADO.NET Entity Data Model Designer Extension Starter Kit.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2016 Microsoft