IModelTransformExtension.OnBeforeModelSaved Method
[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]
Defines functionality for extending the process by which an .edmx file is saved 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 OnBeforeModelSaved ( _
context As ModelTransformExtensionContext _
)
'Usage
Dim instance As IModelTransformExtension
Dim context As ModelTransformExtensionContext
instance.OnBeforeModelSaved(context)
void OnBeforeModelSaved(
ModelTransformExtensionContext context
)
void OnBeforeModelSaved(
ModelTransformExtensionContext^ context
)
abstract OnBeforeModelSaved :
context:ModelTransformExtensionContext -> unit
function OnBeforeModelSaved(
context : ModelTransformExtensionContext
)
Parameters
- context
Type: Microsoft.Data.Entity.Design.Extensibility.ModelTransformExtensionContext
Provides file and project information.