語言

ProviderCodeGeneratorPlugin 類別

定義

基底類別是外掛用來產生程式碼片段以進行逆向工程的。

public class ProviderCodeGeneratorPlugin : Microsoft.EntityFrameworkCore.Scaffolding.IProviderCodeGeneratorPlugin
type ProviderCodeGeneratorPlugin = class
    interface IProviderCodeGeneratorPlugin
Public Class ProviderCodeGeneratorPlugin
Implements IProviderCodeGeneratorPlugin
繼承
ProviderCodeGeneratorPlugin
實作

備註

更多資訊與範例請參閱 「逆向工程(支架)」現有資料庫及 EF Core 設計時服務 。

建構函式

名稱 Description
ProviderCodeGeneratorPlugin()

基底類別是外掛用來產生程式碼片段以進行逆向工程的。

方法

名稱 Description
GenerateContextOptions()

產生一條方法鏈,用於配置提供者專屬選項。

GenerateProviderOptions()

產生方法鏈以配置額外的上下文選項。

適用於