Language

RelationalTableAttributeConvention クラス

定義

適用された TableAttributeに基づいてエンティティ型のテーブル名とスキーマを構成する規則。

[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })]
public class RelationalTableAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.TypeAttributeConventionBase<System.ComponentModel.DataAnnotations.Schema.TableAttribute>
public class RelationalTableAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.EntityTypeAttributeConventionBase<System.ComponentModel.DataAnnotations.Schema.TableAttribute>
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })>]
type RelationalTableAttributeConvention = class
    inherit TypeAttributeConventionBase<TableAttribute>
type RelationalTableAttributeConvention = class
    inherit EntityTypeAttributeConventionBase<TableAttribute>
Public Class RelationalTableAttributeConvention
Inherits TypeAttributeConventionBase(Of TableAttribute)
Public Class RelationalTableAttributeConvention
Inherits EntityTypeAttributeConventionBase(Of TableAttribute)
継承
RelationalTableAttributeConvention
継承
RelationalTableAttributeConvention
属性

注釈

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

コンストラクター

Name 説明
RelationalTableAttributeConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

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

プロパティ

Name 説明
Dependencies

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

(継承元 TypeAttributeConventionBase<TAttribute>)
Dependencies

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

(継承元 EntityTypeAttributeConventionBase<TAttribute>)
RelationalDependencies

このサービスのリレーショナル プロバイダー固有の依存関係。

メソッド

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

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

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

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

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

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

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

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

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

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

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, TAttribute, IConventionContext<IConventionEntityTypeBuilder>)

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

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

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

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

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

(継承元 TypeAttributeConventionBase<TAttribute>)

適用対象