Sdílet prostřednictvím


EntityDesignerChangeScope.Dispose Method

Releases all resources used by the current instance of the EntityDesignerChangeScope class.

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

Syntax

'Declaration
Public MustOverride Sub Dispose
'Usage
Dim instance As EntityDesignerChangeScope

instance.Dispose()
public abstract void Dispose()
public:
virtual void Dispose() abstract
public abstract function Dispose()

Implements

IDisposable.Dispose()

Remarks

In a Visual Studio property extension, the Dispose method should be called when you have finished all actions within an EntityDesignerChangeScope. If you call the Dispose method before calling the Complete method, any changes that were made in the EntityDesignerChangeScope will be discarded.

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.

Permissions

See Also

Reference

EntityDesignerChangeScope Class

EntityDesignerChangeScope Members

Microsoft.Data.Entity.Design.Extensibility Namespace

Other Resources

Visual Studio Extensibility Developer Center

Developing Visual Studio Extensions