Share via


UpdateModelExtensionContext.UpdateModelDocument Property

Represents the .edmx file after 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 UpdateModelDocument As XDocument
    Get
'Usage
Dim instance As UpdateModelExtensionContext
Dim value As XDocument

value = instance.UpdateModelDocument
public abstract XDocument UpdateModelDocument { get; }
public:
virtual property XDocument^ UpdateModelDocument {
    XDocument^ get () abstract;
}
abstract function get UpdateModelDocument () : XDocument

Property Value

Type: System.Xml.Linq.XDocument
Represents the .edmx file after the Update Model Wizard has run.

Remarks

In a Visual Studio extension, the UpdateModelDocument property represents the current .edmx file (as an XDocument) after the Update Model Wizard has run. This file also contains any changes made to it by other 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.

Permissions

See Also

Reference

UpdateModelExtensionContext Class

UpdateModelExtensionContext Members

Microsoft.Data.Entity.Design.Extensibility Namespace

Other Resources

Visual Studio Extensibility Developer Center

.edmx File Overview (Entity Framework)

Developing Visual Studio Extensions