Propriété ModelTransformExtensionContext.OriginalDocument
The original .edmx file that was loaded into memory.
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 OriginalDocument As XDocument
public abstract XDocument OriginalDocument { get; }
public:
virtual property XDocument^ OriginalDocument {
XDocument^ get () abstract;
}
/** @property */
public abstract XDocument get_OriginalDocument ()
public abstract function get OriginalDocument () : XDocument
Valeur de propriété
The original .edmx file that was loaded into memory.
Notes
In a Visual Studio extension, the OriginalDocument property provides a view of the input document (as an XDocument) at the time the OnAfterModelLoaded method is called and before any methods defined in Visual Studio extensions are called. The document that is contained in this property cannot be modified.
The value of this property will be Null when the OnAfterModelLoaded method loads a file that does not have an .edmx file 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.
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