Partager via


Propriété ModelTransformExtensionContext.CurrentDocument

The current .edmx file on which Visual Studio extensions may operate.

Espace de noms: Microsoft.Data.Entity.Design.Extensibility
Assembly : Microsoft.Data.Entity.Design.Extensibility (dans microsoft.data.entity.design.extensibility.dll)

Utilisation

Syntaxe

'Déclaration
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

Valeur de propriété

The current .edmx file on which Visual Studio extensions may operate.

Notes

In a Visual Studio extension, the CurrentDocument property contains the current .edmx file (as an XDocument) that the extension can modify. The content of the file will include any changes that have been made by other Visual Studio extensions. The OriginalDocument property can be used as a reference.

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.

Sécurité des threads

Tous les membres publics statiques (Partagés dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.

Plateformes

Plateformes de développement

Windows XP Édition familiale, Windows XP Professionnel, Windows Server 2003 , Windows Server 2008 et Windows 2000

Plateformes cibles

Voir aussi

Référence

Classe ModelTransformExtensionContext
Membres ModelTransformExtensionContext
Espace de noms Microsoft.Data.Entity.Design.Extensibility

Autres ressources

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