Language

OwnedAttributeConvention クラス

定義

OwnedAttributeが所有されているエンティティ型を構成する規則。

[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })]
public class OwnedAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.TypeAttributeConventionBase<Microsoft.EntityFrameworkCore.OwnedAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })>]
type OwnedAttributeConvention = class
    inherit TypeAttributeConventionBase<OwnedAttribute>
    interface IComplexPropertyAddedConvention
    interface IConvention
Public Class OwnedAttributeConvention
Inherits TypeAttributeConventionBase(Of OwnedAttribute)
Implements IComplexPropertyAddedConvention
継承
属性
実装

注釈

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

コンストラクター

Name 説明
OwnedAttributeConvention(ProviderConventionSetBuilderDependencies)

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

プロパティ

Name 説明
Dependencies

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

(継承元 TypeAttributeConventionBase<TAttribute>)

メソッド

Name 説明
ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

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

(継承元 TypeAttributeConventionBase<TAttribute>)
ProcessComplexTypeAdded(IConventionComplexTypeBuilder, OwnedAttribute, IConventionContext)

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

ProcessComplexTypeAdded(IConventionComplexTypeBuilder, TAttribute, IConventionContext)

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

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

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

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

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

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, TAttribute, IConventionContext<IConventionEntityTypeBuilder>)

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

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

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

(継承元 TypeAttributeConventionBase<TAttribute>)

適用対象