IModelTransformExtension.OnAfterModelLoaded Method
Defines functionality for extending the process by which an .edmx file is loaded by the Entity Data Model Designer.
Namespace: Microsoft.Data.Entity.Design.Extensibility
Assembly: Microsoft.Data.Entity.Design.Extensibility (in Microsoft.Data.Entity.Design.Extensibility.dll)
Syntax
'Declaration
Sub OnAfterModelLoaded ( _
context As ModelTransformExtensionContext _
)
'Usage
Dim instance As IModelTransformExtension
Dim context As ModelTransformExtensionContext
instance.OnAfterModelLoaded(context)
void OnAfterModelLoaded(
ModelTransformExtensionContext context
)
void OnAfterModelLoaded(
ModelTransformExtensionContext^ context
)
function OnAfterModelLoaded(
context : ModelTransformExtensionContext
)
Parameters
- context
Type: Microsoft.Data.Entity.Design.Extensibility.ModelTransformExtensionContext
Provides file and Visual Studio project information.
Remarks
In a Visual Studio extension, the OnAfterModelLoaded method is used to extend the functionality of the Entity Data Model Designer (Entity Designer). Specifically, the OnAfterModelLoaded() method customizes an .edmx file after it has been loaded, but before it has been displayed in the Entity Designer.
Note: |
---|
When building a Visual Studio extension that also implements the IModelConversionExtension.OnAfterFileLoaded method, the OnAfterModelLoaded method will be called after the IModelConversionExtension.OnAfterFileLoaded method. |
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
IModelTransformExtension Interface
IModelTransformExtension Members
Microsoft.Data.Entity.Design.Extensibility Namespace
Other Resources
.edmx File Overview (Entity Framework)