共用方式為


IModelGenerationExtension 介面

Exposes methods for customizing the generation of .edmx files.

命名空間: Microsoft.Data.Entity.Design.Extensibility
組件: Microsoft.Data.Entity.Design.Extensibility (於 microsoft.data.entity.design.extensibility.dll)

使用方式

語法

'宣告
Public Interface IModelGenerationExtension
public interface IModelGenerationExtension
public interface class IModelGenerationExtension
public interface IModelGenerationExtension
public interface IModelGenerationExtension

備註

The IModelGenerationExtension interface exposes methods for customizing the functionality of the Entity Data Model Wizard and the Update Model Wizard. Specifically, the OnAfterModelGenerated and OnAfterModelUpdated methods allow you to customize the way the 實體資料模型 Wizard and Update Model Wizard generate and update .edmx files.

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

目標平台

另請參閱

參考

IModelGenerationExtension 成員
Microsoft.Data.Entity.Design.Extensibility 命名空間

其他資源

.edmx File Overview
Developing Visual Studio Extensions
Visual Studio Extensibility Developer Center