ProviderCodeGeneratorPlugin 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
基底類別是外掛用來產生程式碼片段以進行逆向工程的。
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() |
產生方法鏈以配置額外的上下文選項。 |