PropertyExtensionContext.CreateChangeScope-Methode
Creates an EntityDesignerChangeScope object and sets the string that will appear in the dropdown lists for 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)
Verwendung
Syntax
'Declaration
Public MustOverride Function CreateChangeScope ( _
undoRedoDescription As String _
) As EntityDesignerChangeScope
public abstract EntityDesignerChangeScope CreateChangeScope (
string undoRedoDescription
)
public:
virtual EntityDesignerChangeScope^ CreateChangeScope (
String^ undoRedoDescription
) abstract
public abstract EntityDesignerChangeScope CreateChangeScope (
String undoRedoDescription
)
public abstract function CreateChangeScope (
undoRedoDescription : String
) : EntityDesignerChangeScope
Parameter
- undoRedoDescription
The string that will appear in the dropdown lists for the Undo and Redo buttons in Visual Studio.
Rückgabewert
An EntityDesignerChangeScope object.
Hinweise
In a Visual Studio extension, the CreateChangeScope method initializes an instance of the EntityDesignerChangeScope class. The EntityDesignerChangeScope class allows you to create a unit of work within the extension that can be undone or redone with the Undo and Redo buttons in Visual Studio.
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.
Threadsicherheit
Alle öffentlichen statischen (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht sichergestellt.
Plattformen
Entwicklungsplattformen
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008 und Windows 2000
Zielplattformen
Siehe auch
Verweis
PropertyExtensionContext-Klasse
PropertyExtensionContext-Member
Microsoft.Data.Entity.Design.Extensibility-Namespace
Weitere Ressourcen
Visual Studio Extensibility Developer Center
Developing Visual Studio Extensions