次の方法で共有


ComplexTypeAttributeConvention クラス

定義

を持つ ComplexTypeAttribute型を構成する規則。

public class ComplexTypeAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.TypeAttributeConventionBase<System.ComponentModel.DataAnnotations.Schema.ComplexTypeAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention
type ComplexTypeAttributeConvention = class
    inherit TypeAttributeConventionBase<ComplexTypeAttribute>
    interface IComplexPropertyAddedConvention
    interface IConvention
Public Class ComplexTypeAttributeConvention
Inherits TypeAttributeConventionBase(Of ComplexTypeAttribute)
Implements IComplexPropertyAddedConvention
継承
ComplexTypeAttributeConvention
実装

注釈

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

コンストラクター

ComplexTypeAttributeConvention(ProviderConventionSetBuilderDependencies)

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

プロパティ

Dependencies

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

(継承元 TypeAttributeConventionBase<TAttribute>)

メソッド

ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

複合プロパティが型に似たオブジェクトに追加された後に呼び出されます。

ProcessComplexTypeAdded(IConventionComplexTypeBuilder, TAttribute, IConventionContext)

複合型が属性を持つ場合は、モデルに追加された後に呼び出されます。

(継承元 TypeAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, ComplexTypeAttribute, IConventionContext<IConventionEntityTypeBuilder>)

属性がある場合は、エンティティ型がモデルに追加された後に呼び出されます。

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

エンティティ型がモデルに追加された後に呼び出されます。

(継承元 TypeAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, TAttribute, IConventionContext<IConventionEntityTypeBuilder>)

属性がある場合は、エンティティ型がモデルに追加された後に呼び出されます。

(継承元 TypeAttributeConventionBase<TAttribute>)
ReplaceWithEntityType(IConventionComplexTypeBuilder, Nullable<Boolean>)

複合型をエンティティ型に置き換えようとします。

(継承元 TypeAttributeConventionBase<TAttribute>)

適用対象