RelationalRuntimeModelConvention 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
一種建立可變模型優化副本的慣例。 此慣例通常由資料庫提供者實作,用於在建立唯讀模型時更新提供者註解。
[System.Runtime.CompilerServices.Nullable(0)]
public class RelationalRuntimeModelConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.RuntimeModelConvention
public class RelationalRuntimeModelConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.RuntimeModelConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type RelationalRuntimeModelConvention = class
inherit RuntimeModelConvention
type RelationalRuntimeModelConvention = class
inherit RuntimeModelConvention
Public Class RelationalRuntimeModelConvention
Inherits RuntimeModelConvention
- 繼承
- 衍生
- 屬性
備註
更多資訊與範例請參閱 模型建構慣例 。
建構函式
| 名稱 | Description |
|---|---|
| RelationalRuntimeModelConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies) |
建立一個新的 實例。RelationalRuntimeModelConvention |
屬性
| 名稱 | Description |
|---|---|
| Dependencies |
此服務的依賴關係。 (繼承來源 RuntimeModelConvention) |
| RelationalDependencies |
此服務的關聯提供者專屬相依關係。 |