Freigeben über


ModelGenerationExtensionContext.CurrentDocument-Eigenschaft

Represents the .edmx document to be modified.

Namespace: Microsoft.Data.Entity.Design.Extensibility
Assembly: Microsoft.Data.Entity.Design.Extensibility (in microsoft.data.entity.design.extensibility.dll)

Verwendung

Syntax

'Declaration
Public MustOverride ReadOnly Property CurrentDocument As XDocument
public abstract XDocument CurrentDocument { get; }
public:
virtual property XDocument^ CurrentDocument {
    XDocument^ get () abstract;
}
/** @property */
public abstract XDocument get_CurrentDocument ()
public abstract function get CurrentDocument () : XDocument

Eigenschaftswert

Represents the .edmx document to be modified.

Hinweise

In a Visual Studio extension, the CurrentDocument property represents the .edmx file to be modified. When the Entity Data Model Wizard is launched in Visual Studio, the CurrentDocument property contains the .edmx file (as an XDocument) that an extension can modify. This file also contains any changes made to it by extensions that have been executed previous to the currently executing extension.

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

ModelGenerationExtensionContext-Klasse
ModelGenerationExtensionContext-Member
Microsoft.Data.Entity.Design.Extensibility-Namespace

Weitere Ressourcen

Visual Studio Extensibility Developer Center
.edmx File Overview
Developing Visual Studio Extensions