ComplexTypeAttributeConvention クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
を持つ 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(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>) |
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Entity Framework
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示