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