PropertyExtensionContext.CreateChangeScope Method

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

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)

Syntax

'Declaration
Public MustOverride Function CreateChangeScope ( _
    undoRedoDescription As String _
) As EntityDesignerChangeScope
'Usage
Dim instance As PropertyExtensionContext 
Dim undoRedoDescription As String 
Dim returnValue As EntityDesignerChangeScope 

returnValue = instance.CreateChangeScope(undoRedoDescription)
public abstract EntityDesignerChangeScope CreateChangeScope(
    string undoRedoDescription
)
public:
virtual EntityDesignerChangeScope^ CreateChangeScope(
    String^ undoRedoDescription
) abstract
abstract CreateChangeScope : 
        undoRedoDescription:string -> EntityDesignerChangeScope
public abstract function CreateChangeScope(
    undoRedoDescription : String
) : EntityDesignerChangeScope

Parameters

  • undoRedoDescription
    Type: System.String
    The string that will appear in the dropdown lists for the Undo and Redo buttons in Visual Studio.

Return Value

Type: Microsoft.Data.Entity.Design.Extensibility.EntityDesignerChangeScope
An instance of an EntityDesignerChangeScope

See Also

Reference

PropertyExtensionContext Class

Microsoft.Data.Entity.Design.Extensibility Namespace