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