RuntimeModelConvention 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立可變動模型優化複本的慣例。 此慣例通常是由資料庫提供者實作,以在建立唯讀模型時更新提供者批註。
public class RuntimeModelConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
type RuntimeModelConvention = class
interface IModelFinalizedConvention
interface IConvention
Public Class RuntimeModelConvention
Implements IModelFinalizedConvention
- 繼承
-
RuntimeModelConvention
- 衍生
- 實作
備註
如需詳細資訊和範例,請參閱 模型建置慣例 。
建構函式
RuntimeModelConvention(ProviderConventionSetBuilderDependencies) |
建立 RuntimeModelConvention 的新執行個體。 |
屬性
Dependencies |
此服務的相依性。 |