TypeAttributeConventionBase<TAttribute> クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
構造型で指定された属性に基づいて構成を実行する規則の基本型。
public abstract class TypeAttributeConventionBase<TAttribute> : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention where TAttribute : Attribute
type TypeAttributeConventionBase<'Attribute (requires 'Attribute :> Attribute)> = class
interface IEntityTypeAddedConvention
interface IConvention
Public MustInherit Class TypeAttributeConventionBase(Of TAttribute)
Implements IEntityTypeAddedConvention
型パラメーター
- TAttribute
検索する属性の型。
- 継承
-
TypeAttributeConventionBase<TAttribute>
- 派生
- 実装
注釈
詳細と例については、「 モデルの構築規則 」を参照してください。
コンストラクター
TypeAttributeConventionBase<TAttribute>(ProviderConventionSetBuilderDependencies) |
TypeAttributeConventionBase<TAttribute> の新しいインスタンスを作成します。 |
プロパティ
Dependencies |
このサービスの依存関係。 |
メソッド
ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>) |
複合プロパティが型に似たオブジェクトに追加された後に呼び出されます。 |
ProcessComplexTypeAdded(IConventionComplexTypeBuilder, TAttribute, IConventionContext) |
複合型が属性を持つ場合は、モデルに追加された後に呼び出されます。 |
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>) |
エンティティ型がモデルに追加された後に呼び出されます。 |
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, TAttribute, IConventionContext<IConventionEntityTypeBuilder>) |
属性がある場合は、エンティティ型がモデルに追加された後に呼び出されます。 |
ReplaceWithEntityType(IConventionComplexTypeBuilder, Nullable<Boolean>) |
複合型をエンティティ型に置き換えようとします。 |
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Entity Framework
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示