Freigeben über


ModelTransformExtensionContext.OriginalDocument-Eigenschaft

The original .edmx file that was loaded into memory.

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 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

Eigenschaftswert

The original .edmx file that was loaded into memory.

Hinweise

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.

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

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

Weitere Ressourcen

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