次の方法で共有


TypeMappingConvention クラス

定義

注意事項

Use IModelRuntimeInitializer.Initialize instead.

エンティティ プロパティへのストア型マッピングを作成して割り当てる規則。

public class TypeMappingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
public class TypeMappingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
[System.Obsolete("Use IModelRuntimeInitializer.Initialize instead.")]
public class TypeMappingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
type TypeMappingConvention = class
    interface IModelFinalizedConvention
    interface IConvention
type TypeMappingConvention = class
    interface IModelFinalizingConvention
    interface IConvention
[<System.Obsolete("Use IModelRuntimeInitializer.Initialize instead.")>]
type TypeMappingConvention = class
    interface IModelFinalizingConvention
    interface IConvention
Public Class TypeMappingConvention
Implements IModelFinalizedConvention
Public Class TypeMappingConvention
Implements IModelFinalizingConvention
継承
TypeMappingConvention
属性
実装

注釈

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

コンストラクター

TypeMappingConvention(ProviderConventionSetBuilderDependencies)
古い.

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

プロパティ

Dependencies
古い.

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

メソッド

ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)
古い.

モデルが完成した後に呼び出されます。

ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)
古い.

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

適用対象