Language

ElementMappingConvention クラス

定義

プロパティ マッピングに、型マッパーによって検出された ElementMapping があることを保証する規則。

[System.Runtime.CompilerServices.Nullable(0)]
public class ElementMappingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type ElementMappingConvention = class
    interface IModelFinalizingConvention
    interface IConvention
Public Class ElementMappingConvention
Implements IModelFinalizingConvention
継承
ElementMappingConvention
属性
実装

注釈

詳細と例については、「 モデル構築規則 」を参照してください。

コンストラクター

Name 説明
ElementMappingConvention(ProviderConventionSetBuilderDependencies)

ElementMappingConventionの新しいインスタンスを作成します。

プロパティ

Name 説明
Dependencies

このサービスの依存関係。

メソッド

Name 説明
ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

モデルの最終処理時に呼び出されます。

適用対象