Método PropertyExtensionContext.CreateChangeScope
Creates an EntityDesignerChangeScope object and sets the string that will appear in the dropdown lists for the Undo and Redo buttons in Visual Studio.
Espacio de nombres: Microsoft.Data.Entity.Design.Extensibility
Ensamblado: Microsoft.Data.Entity.Design.Extensibility (en microsoft.data.entity.design.extensibility.dll)
Uso
Sintaxis
'Declaración
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
Parámetros
- undoRedoDescription
The string that will appear in the dropdown lists for the Undo and Redo buttons in Visual Studio.
Valor devuelto
An EntityDesignerChangeScope object.
Notas
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.
Seguridad para subprocesos
Cualquier miembro estático público (Compartidos en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Plataformas
Plataformas de desarrollo
Microsoft Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008 y Windows 2000
Plataformas de destino
Vea también
Referencia
Clase PropertyExtensionContext
Miembros PropertyExtensionContext
Espacio de nombres Microsoft.Data.Entity.Design.Extensibility
Otros recursos
Visual Studio Extensibility Developer Center
Developing Visual Studio Extensions