ModelGenerationExtensionContext.GeneratedDocument Property
Represents the original .edmx file generated by the Entity Data Model Wizard.
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 GeneratedDocument As XDocument
Get
'Usage
Dim instance As ModelGenerationExtensionContext
Dim value As XDocument
value = instance.GeneratedDocument
public abstract XDocument GeneratedDocument { get; }
public:
virtual property XDocument^ GeneratedDocument {
XDocument^ get () abstract;
}
abstract function get GeneratedDocument () : XDocument
Property Value
Type: System.Xml.Linq.XDocument
Represents the original .edmx file generated by the Entity Data Model Wizard.
Remarks
In a Visual Studio extension, the GeneratedDocument property represents the original .edmx file (as an XDocument) generated by the Entity Data Model Wizard. This file cannot be modified. The CurrentDocument property represents the current .edmx file to be modified.
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
ModelGenerationExtensionContext Class
ModelGenerationExtensionContext Members
Microsoft.Data.Entity.Design.Extensibility Namespace
Other Resources
Visual Studio Extensibility Developer Center