ModelConversionExtensionContext.CurrentDocument-Eigenschaft
Returns the .edmx document after it has been converted from a custom file format.
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
The .edmx document after it has been converted from a custom file format.
Hinweise
In a Visual Studio extension, the CurrentDocument property represents the .edmx document (as an XDocument) after it has been converted from a custom file format. 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
ModelConversionExtensionContext-Klasse
ModelConversionExtensionContext-Member
Microsoft.Data.Entity.Design.Extensibility-Namespace
Weitere Ressourcen
Visual Studio Extensibility Developer Center
.edmx File Overview
Developing Visual Studio Extensions