IModelTransformExtension 介面
Exposes methods for extending the loading and saving processes of .edmx files.
命名空間: Microsoft.Data.Entity.Design.Extensibility
組件: Microsoft.Data.Entity.Design.Extensibility (於 microsoft.data.entity.design.extensibility.dll)
使用方式
語法
'宣告
Public Interface IModelTransformExtension
public interface IModelTransformExtension
public interface class IModelTransformExtension
public interface IModelTransformExtension
public interface IModelTransformExtension
備註
The IModelTransormExtension interface exposes methods for extending the functionality of the Entity Data Model Designer (Entity Designer). Specifically, the OnAfterModelLoaded method allows you to customize an .edmx file after it has been loaded but before it has been displayed in the Entity Designer. The OnBeforeModelSaved method allows you to customize an .edmx file before it is saved. Note that the scope of these methods is limited to modifying .edmx files. To load and save files with a custom format, see IModelConversionExtension.
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.
平台
開發平台
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 、Windows Server 2008 和 Windows 2000
目標平台
另請參閱
參考
IModelTransformExtension 成員
Microsoft.Data.Entity.Design.Extensibility 命名空間
其他資源
.edmx File Overview
Developing Visual Studio Extensions
Visual Studio Extensibility Developer Center