UpdateModelExtensionContext.OriginalDocument Property
Represents the .edmx file before the Update Model Wizard has run.
Namespace: Microsoft.Data.Entity.Design.Extensibility
Assembly: Microsoft.Data.Entity.Design.Extensibility (in Microsoft.Data.Entity.Design.Extensibility.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property OriginalDocument As XDocument
Get
'Usage
Dim instance As UpdateModelExtensionContext
Dim value As XDocument
value = instance.OriginalDocument
public abstract XDocument OriginalDocument { get; }
public:
virtual property XDocument^ OriginalDocument {
XDocument^ get () abstract;
}
abstract function get OriginalDocument () : XDocument
Property Value
Type: System.Xml.Linq.XDocument
Represents the .edmx file before the Update Model Wizard has run.
Remarks
In a Visual Studio extension, the OriginalDocument property is the .edmx file (as an XDocument) before the Update Model Wizard has run. This file cannot be modified. The UpdateModelDocument property represents the .edmx file after the Update Model Wizard has run.
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.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
UpdateModelExtensionContext Class
UpdateModelExtensionContext Members
Microsoft.Data.Entity.Design.Extensibility Namespace
Other Resources
Visual Studio Extensibility Developer Center