Export (0) Print
Expand All

EntityDesignerChangeScope Class

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

System.Object
  Microsoft.Data.Entity.Design.Extensibility.EntityDesignerChangeScope

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.

  NameDescription
Protected methodEntityDesignerChangeScopeInstantiates a new instance of EntityDesignerChangeScope.
Top

  NameDescription
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.)
Top

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.
Show:
© 2014 Microsoft