RelationalEntityTypeBuilderExtensions.ToTable メソッド

定義

オーバーロード

ToTable(OwnedNavigationBuilder, String, String, Boolean)
古い.

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable(OwnedNavigationBuilder, String, String, Action<TableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable(OwnedNavigationBuilder, String, String, Action<OwnedNavigationTableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable(IConventionEntityTypeBuilder, String, String, Boolean)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable(EntityTypeBuilder, String, String, Action<TableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable(OwnedNavigationBuilder, String, String)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable(OwnedNavigationBuilder, String, Boolean)
古い.

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable(OwnedNavigationBuilder, String, Action<TableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable(OwnedNavigationBuilder, String, Action<OwnedNavigationTableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable(IConventionEntityTypeBuilder, String, Boolean)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable(EntityTypeBuilder, String, String)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable(EntityTypeBuilder, String, Action<TableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable(OwnedNavigationBuilder, String)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable(OwnedNavigationBuilder, Action<TableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable(OwnedNavigationBuilder, Action<OwnedNavigationTableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable(EntityTypeBuilder, String)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable(EntityTypeBuilder, Action<TableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable<TEntity>(EntityTypeBuilder<TEntity>, String, String, Action<TableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable<TEntity>(EntityTypeBuilder<TEntity>, String, String, Action<TableBuilder<TEntity>>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable<TEntity>(EntityTypeBuilder<TEntity>, String, String)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable<TEntity>(EntityTypeBuilder<TEntity>, String)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable<TEntity>(EntityTypeBuilder<TEntity>, String, Action<TableBuilder<TEntity>>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable<TEntity>(EntityTypeBuilder<TEntity>, Action<TableBuilder<TEntity>>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable<TEntity>(EntityTypeBuilder<TEntity>, String, Action<TableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>, String, String)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, Action<OwnedNavigationTableBuilder<TOwnerEntity, TDependentEntity>>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>, String)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, String, Action<OwnedNavigationTableBuilder<TOwnerEntity, TDependentEntity>>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, String, String, Action<OwnedNavigationTableBuilder<TOwnerEntity, TDependentEntity>>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable<TOwnerEntity,TRelatedEntity>(OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>, String, Action<TableBuilder<TRelatedEntity>>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable<TOwnerEntity,TRelatedEntity>(OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>, String, String, Boolean)
古い.

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable<TOwnerEntity,TRelatedEntity>(OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>, String, Boolean)
古い.

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable<TOwnerEntity,TRelatedEntity>(OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>, Action<TableBuilder<TRelatedEntity>>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable<TOwnerEntity,TRelatedEntity>(OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>, String, String, Action<TableBuilder<TRelatedEntity>>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

ToTable(OwnedNavigationBuilder, String, String, Boolean)

注意事項

Use the overload with an Action parameter

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder referenceOwnershipBuilder, string name, string schema, bool excludedFromMigrations);
[System.Obsolete("Use the overload with an Action parameter")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder referenceOwnershipBuilder, string? name, string? schema, bool excludedFromMigrations);
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string * string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
[<System.Obsolete("Use the overload with an Action parameter")>]
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string * string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function ToTable (referenceOwnershipBuilder As OwnedNavigationBuilder, name As String, schema As String, excludedFromMigrations As Boolean) As OwnedNavigationBuilder

パラメーター

referenceOwnershipBuilder
OwnedNavigationBuilder

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

schema
String

テーブルのスキーマ。

excludedFromMigrations
Boolean

テーブルを移行によって管理する必要があるかどうかを示す値。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

属性

注釈

詳細については、「 エンティティ型とリレーションシップのモデリング 」を参照してください。

適用対象

ToTable(OwnedNavigationBuilder, String, String, Action<TableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder referenceOwnershipBuilder, string name, string? schema, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder> buildAction);
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function ToTable (referenceOwnershipBuilder As OwnedNavigationBuilder, name As String, schema As String, buildAction As Action(Of TableBuilder)) As OwnedNavigationBuilder

パラメーター

referenceOwnershipBuilder
OwnedNavigationBuilder

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

schema
String

テーブルのスキーマ。

buildAction
Action<TableBuilder>

テーブルの構成を実行するアクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細については、「 エンティティ型とリレーションシップのモデリング 」を参照してください。

適用対象

ToTable(OwnedNavigationBuilder, String, String, Action<OwnedNavigationTableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ownedNavigationBuilder, string name, string? schema, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder> buildAction);
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function ToTable (ownedNavigationBuilder As OwnedNavigationBuilder, name As String, schema As String, buildAction As Action(Of OwnedNavigationTableBuilder)) As OwnedNavigationBuilder

パラメーター

ownedNavigationBuilder
OwnedNavigationBuilder

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

schema
String

テーブルのスキーマ。

buildAction
Action<OwnedNavigationTableBuilder>

テーブルの構成を実行するアクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティ型とリレーションシップのモデル 化」を参照してください。

適用対象

ToTable(IConventionEntityTypeBuilder, String, String, Boolean)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, string name, string schema, bool fromDataAnnotation = false);
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder? ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, string? name, string? schema, bool fromDataAnnotation = false);
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * string * string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder
<Extension()>
Public Function ToTable (entityTypeBuilder As IConventionEntityTypeBuilder, name As String, schema As String, Optional fromDataAnnotation As Boolean = false) As IConventionEntityTypeBuilder

パラメーター

entityTypeBuilder
IConventionEntityTypeBuilder

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

schema
String

テーブルのスキーマ。

fromDataAnnotation
Boolean

構成がデータ注釈を使用して指定されたかどうかを示します。

戻り値

構成が適用された場合は同じビルダー インスタンス。 null それ以外の場合は 。

注釈

詳細と例については、「 エンティティ型とリレーションシップのモデル 化」を参照してください。

適用対象

ToTable(EntityTypeBuilder, String, String, Action<TableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, string name, string schema, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder> buildAction);
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, string name, string? schema, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder> buildAction);
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * string * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
<Extension()>
Public Function ToTable (entityTypeBuilder As EntityTypeBuilder, name As String, schema As String, buildAction As Action(Of TableBuilder)) As EntityTypeBuilder

パラメーター

entityTypeBuilder
EntityTypeBuilder

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

schema
String

テーブルのスキーマ。

buildAction
Action<TableBuilder>

テーブルの構成を実行するアクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

ToTable(OwnedNavigationBuilder, String, String)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ownedNavigationBuilder, string name, string? schema);
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function ToTable (ownedNavigationBuilder As OwnedNavigationBuilder, name As String, schema As String) As OwnedNavigationBuilder

パラメーター

ownedNavigationBuilder
OwnedNavigationBuilder

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

schema
String

テーブルのスキーマ。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

ToTable(OwnedNavigationBuilder, String, Boolean)

注意事項

Use the overload with an Action parameter

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder referenceOwnershipBuilder, string name, bool excludedFromMigrations);
[System.Obsolete("Use the overload with an Action parameter")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder referenceOwnershipBuilder, string? name, bool excludedFromMigrations);
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
[<System.Obsolete("Use the overload with an Action parameter")>]
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function ToTable (referenceOwnershipBuilder As OwnedNavigationBuilder, name As String, excludedFromMigrations As Boolean) As OwnedNavigationBuilder

パラメーター

referenceOwnershipBuilder
OwnedNavigationBuilder

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

excludedFromMigrations
Boolean

テーブルを移行によって管理する必要があるかどうかを示す値。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

属性

注釈

詳細については、「 モデリング エンティティの型とリレーションシップ 」を参照してください。

適用対象

ToTable(OwnedNavigationBuilder, String, Action<TableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder referenceOwnershipBuilder, string? name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder> buildAction);
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function ToTable (referenceOwnershipBuilder As OwnedNavigationBuilder, name As String, buildAction As Action(Of TableBuilder)) As OwnedNavigationBuilder

パラメーター

referenceOwnershipBuilder
OwnedNavigationBuilder

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

buildAction
Action<TableBuilder>

テーブルの構成を実行するアクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細については、「 モデリング エンティティの型とリレーションシップ 」を参照してください。

適用対象

ToTable(OwnedNavigationBuilder, String, Action<OwnedNavigationTableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ownedNavigationBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder> buildAction);
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function ToTable (ownedNavigationBuilder As OwnedNavigationBuilder, name As String, buildAction As Action(Of OwnedNavigationTableBuilder)) As OwnedNavigationBuilder

パラメーター

ownedNavigationBuilder
OwnedNavigationBuilder

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

buildAction
Action<OwnedNavigationTableBuilder>

テーブルの構成を実行するアクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

ToTable(IConventionEntityTypeBuilder, String, Boolean)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, string name, bool fromDataAnnotation = false);
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder? ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, string? name, bool fromDataAnnotation = false);
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder
<Extension()>
Public Function ToTable (entityTypeBuilder As IConventionEntityTypeBuilder, name As String, Optional fromDataAnnotation As Boolean = false) As IConventionEntityTypeBuilder

パラメーター

entityTypeBuilder
IConventionEntityTypeBuilder

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

fromDataAnnotation
Boolean

構成がデータ注釈を使用して指定されたかどうかを示します。

戻り値

構成が適用された場合は同じビルダー インスタンス。 null それ以外の場合は 。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

ToTable(EntityTypeBuilder, String, String)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, string name, string schema);
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, string name, string? schema);
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * string * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
<Extension()>
Public Function ToTable (entityTypeBuilder As EntityTypeBuilder, name As String, schema As String) As EntityTypeBuilder

パラメーター

entityTypeBuilder
EntityTypeBuilder

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

schema
String

テーブルのスキーマ。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

ToTable(EntityTypeBuilder, String, Action<TableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder> buildAction);
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, string? name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder> buildAction);
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
<Extension()>
Public Function ToTable (entityTypeBuilder As EntityTypeBuilder, name As String, buildAction As Action(Of TableBuilder)) As EntityTypeBuilder

パラメーター

entityTypeBuilder
EntityTypeBuilder

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

buildAction
Action<TableBuilder>

テーブルの構成を実行するアクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

ToTable(OwnedNavigationBuilder, String)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ownedNavigationBuilder, string? name);
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function ToTable (ownedNavigationBuilder As OwnedNavigationBuilder, name As String) As OwnedNavigationBuilder

パラメーター

ownedNavigationBuilder
OwnedNavigationBuilder

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

ToTable(OwnedNavigationBuilder, Action<TableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder referenceOwnershipBuilder, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder> buildAction);
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function ToTable (referenceOwnershipBuilder As OwnedNavigationBuilder, buildAction As Action(Of TableBuilder)) As OwnedNavigationBuilder

パラメーター

referenceOwnershipBuilder
OwnedNavigationBuilder

構成されているエンティティ型のビルダー。

buildAction
Action<TableBuilder>

テーブルの構成を実行するアクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細については、「 モデリング エンティティの型とリレーションシップ 」を参照してください。

適用対象

ToTable(OwnedNavigationBuilder, Action<OwnedNavigationTableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ownedNavigationBuilder, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder> buildAction);
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function ToTable (ownedNavigationBuilder As OwnedNavigationBuilder, buildAction As Action(Of OwnedNavigationTableBuilder)) As OwnedNavigationBuilder

パラメーター

ownedNavigationBuilder
OwnedNavigationBuilder

構成されているエンティティ型のビルダー。

buildAction
Action<OwnedNavigationTableBuilder>

テーブルの構成を実行するアクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

ToTable(EntityTypeBuilder, String)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, string name);
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, string? name);
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
<Extension()>
Public Function ToTable (entityTypeBuilder As EntityTypeBuilder, name As String) As EntityTypeBuilder

パラメーター

entityTypeBuilder
EntityTypeBuilder

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

ToTable(EntityTypeBuilder, Action<TableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder ToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder> buildAction);
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
<Extension()>
Public Function ToTable (entityTypeBuilder As EntityTypeBuilder, buildAction As Action(Of TableBuilder)) As EntityTypeBuilder

パラメーター

entityTypeBuilder
EntityTypeBuilder

構成されているエンティティ型のビルダー。

buildAction
Action<TableBuilder>

テーブルの構成を実行するアクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

ToTable<TEntity>(EntityTypeBuilder<TEntity>, String, String, Action<TableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> ToTable<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string name, string schema, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder> buildAction) where TEntity : class;
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> * string * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function ToTable(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), name As String, schema As String, buildAction As Action(Of TableBuilder)) As EntityTypeBuilder(Of TEntity)

型パラメーター

TEntity

構成対象のエンティティ型。

パラメーター

entityTypeBuilder
EntityTypeBuilder<TEntity>

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

schema
String

テーブルのスキーマ。

buildAction
Action<TableBuilder>

テーブルの構成を実行するアクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

適用対象

ToTable<TEntity>(EntityTypeBuilder<TEntity>, String, String, Action<TableBuilder<TEntity>>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> ToTable<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string name, string schema, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<TEntity>> buildAction) where TEntity : class;
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> ToTable<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string name, string? schema, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<TEntity>> buildAction) where TEntity : class;
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> * string * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<'Entity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function ToTable(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), name As String, schema As String, buildAction As Action(Of TableBuilder(Of TEntity))) As EntityTypeBuilder(Of TEntity)

型パラメーター

TEntity

構成対象のエンティティ型。

パラメーター

entityTypeBuilder
EntityTypeBuilder<TEntity>

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

schema
String

テーブルのスキーマ。

buildAction
Action<TableBuilder<TEntity>>

テーブルの構成を実行するアクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

ToTable<TEntity>(EntityTypeBuilder<TEntity>, String, String)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> ToTable<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string name, string schema) where TEntity : class;
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> ToTable<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string name, string? schema) where TEntity : class;
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> * string * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function ToTable(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), name As String, schema As String) As EntityTypeBuilder(Of TEntity)

型パラメーター

TEntity

構成対象のエンティティ型。

パラメーター

entityTypeBuilder
EntityTypeBuilder<TEntity>

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

schema
String

テーブルのスキーマ。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

ToTable<TEntity>(EntityTypeBuilder<TEntity>, String)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> ToTable<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string name) where TEntity : class;
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> ToTable<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string? name) where TEntity : class;
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function ToTable(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), name As String) As EntityTypeBuilder(Of TEntity)

型パラメーター

TEntity

構成対象のエンティティ型。

パラメーター

entityTypeBuilder
EntityTypeBuilder<TEntity>

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

適用対象

ToTable<TEntity>(EntityTypeBuilder<TEntity>, String, Action<TableBuilder<TEntity>>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> ToTable<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<TEntity>> buildAction) where TEntity : class;
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> ToTable<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string? name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<TEntity>> buildAction) where TEntity : class;
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<'Entity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function ToTable(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), name As String, buildAction As Action(Of TableBuilder(Of TEntity))) As EntityTypeBuilder(Of TEntity)

型パラメーター

TEntity

構成対象のエンティティ型。

パラメーター

entityTypeBuilder
EntityTypeBuilder<TEntity>

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

buildAction
Action<TableBuilder<TEntity>>

テーブルの構成を実行するアクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティ型とリレーションシップのモデル 化」を参照してください。

適用対象

ToTable<TEntity>(EntityTypeBuilder<TEntity>, Action<TableBuilder<TEntity>>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> ToTable<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<TEntity>> buildAction) where TEntity : class;
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<'Entity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function ToTable(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), buildAction As Action(Of TableBuilder(Of TEntity))) As EntityTypeBuilder(Of TEntity)

型パラメーター

TEntity

構成対象のエンティティ型。

パラメーター

entityTypeBuilder
EntityTypeBuilder<TEntity>

構成されているエンティティ型のビルダー。

buildAction
Action<TableBuilder<TEntity>>

テーブルの構成を実行するアクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティ型とリレーションシップのモデル 化」を参照してください。

適用対象

ToTable<TEntity>(EntityTypeBuilder<TEntity>, String, Action<TableBuilder>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> ToTable<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder> buildAction) where TEntity : class;
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function ToTable(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), name As String, buildAction As Action(Of TableBuilder)) As EntityTypeBuilder(Of TEntity)

型パラメーター

TEntity

構成対象のエンティティ型。

パラメーター

entityTypeBuilder
EntityTypeBuilder<TEntity>

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

buildAction
Action<TableBuilder>

テーブルの構成を実行するアクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

適用対象

ToTable<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>, String, String)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ToTable<TOwnerEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ownedNavigationBuilder, string name, string? schema) where TOwnerEntity : class where TDependentEntity : class;
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> * string * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'OwnerEntity : null and 'DependentEntity : null)
<Extension()>
Public Function ToTable(Of TOwnerEntity As Class, TDependentEntity As Class) (ownedNavigationBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity), name As String, schema As String) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)

型パラメーター

TOwnerEntity

リレーションシップを所有するエンティティ型。

TDependentEntity

リレーションシップの依存エンティティ型。

パラメーター

ownedNavigationBuilder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

schema
String

テーブルのスキーマ。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティ型とリレーションシップのモデル 化」を参照してください。

適用対象

ToTable<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, Action<OwnedNavigationTableBuilder<TOwnerEntity, TDependentEntity>>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ToTable<TOwnerEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ownedNavigationBuilder, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>> buildAction) where TOwnerEntity : class where TDependentEntity : class;
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder<'OwnerEntity, 'DependentEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'OwnerEntity : null and 'DependentEntity : null)
<Extension()>
Public Function ToTable(Of TOwnerEntity As Class, TDependentEntity As Class) (ownedNavigationBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity), buildAction As Action(Of OwnedNavigationTableBuilder(Of TOwnerEntity, TDependentEntity))) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)

型パラメーター

TOwnerEntity

リレーションシップを所有するエンティティ型。

TDependentEntity

リレーションシップの依存エンティティ型。

パラメーター

ownedNavigationBuilder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

構成されているエンティティ型のビルダー。

buildAction
Action<OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>>

テーブルの構成を実行するアクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティ型とリレーションシップのモデル 化」を参照してください。

適用対象

ToTable<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>, String)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ToTable<TOwnerEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ownedNavigationBuilder, string? name) where TOwnerEntity : class where TDependentEntity : class;
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'OwnerEntity : null and 'DependentEntity : null)
<Extension()>
Public Function ToTable(Of TOwnerEntity As Class, TDependentEntity As Class) (ownedNavigationBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity), name As String) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)

型パラメーター

TOwnerEntity

リレーションシップを所有するエンティティ型。

TDependentEntity

リレーションシップの依存エンティティ型。

パラメーター

ownedNavigationBuilder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティ型とリレーションシップのモデル 化」を参照してください。

適用対象

ToTable<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, String, Action<OwnedNavigationTableBuilder<TOwnerEntity, TDependentEntity>>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ToTable<TOwnerEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ownedNavigationBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>> buildAction) where TOwnerEntity : class where TDependentEntity : class;
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder<'OwnerEntity, 'DependentEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'OwnerEntity : null and 'DependentEntity : null)
<Extension()>
Public Function ToTable(Of TOwnerEntity As Class, TDependentEntity As Class) (ownedNavigationBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity), name As String, buildAction As Action(Of OwnedNavigationTableBuilder(Of TOwnerEntity, TDependentEntity))) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)

型パラメーター

TOwnerEntity

リレーションシップを所有するエンティティ型。

TDependentEntity

リレーションシップの依存エンティティ型。

パラメーター

ownedNavigationBuilder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

buildAction
Action<OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>>

テーブルの構成を実行するアクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティ型とリレーションシップのモデル 化」を参照してください。

適用対象

ToTable<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, String, String, Action<OwnedNavigationTableBuilder<TOwnerEntity, TDependentEntity>>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ToTable<TOwnerEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ownedNavigationBuilder, string name, string? schema, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>> buildAction) where TOwnerEntity : class where TDependentEntity : class;
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> * string * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder<'OwnerEntity, 'DependentEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'OwnerEntity : null and 'DependentEntity : null)
<Extension()>
Public Function ToTable(Of TOwnerEntity As Class, TDependentEntity As Class) (ownedNavigationBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity), name As String, schema As String, buildAction As Action(Of OwnedNavigationTableBuilder(Of TOwnerEntity, TDependentEntity))) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)

型パラメーター

TOwnerEntity

リレーションシップを所有するエンティティ型。

TDependentEntity

リレーションシップの依存エンティティ型。

パラメーター

ownedNavigationBuilder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

schema
String

テーブルのスキーマ。

buildAction
Action<OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>>

テーブルの構成を実行するアクション。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティ型とリレーションシップのモデル 化」を参照してください。

適用対象

ToTable<TOwnerEntity,TRelatedEntity>(OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>, String, Action<TableBuilder<TRelatedEntity>>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity> ToTable<TOwnerEntity,TRelatedEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity> referenceOwnershipBuilder, string? name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<TRelatedEntity>> buildAction) where TOwnerEntity : class where TRelatedEntity : class;
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'RelatedEntity (requires 'OwnerEntity : null and 'RelatedEntity : null)> * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<'RelatedEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'RelatedEntity (requires 'OwnerEntity : null and 'RelatedEntity : null)> (requires 'OwnerEntity : null and 'RelatedEntity : null)
<Extension()>
Public Function ToTable(Of TOwnerEntity As Class, TRelatedEntity As Class) (referenceOwnershipBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TRelatedEntity), name As String, buildAction As Action(Of TableBuilder(Of TRelatedEntity))) As OwnedNavigationBuilder(Of TOwnerEntity, TRelatedEntity)

型パラメーター

TOwnerEntity
TRelatedEntity

パラメーター

referenceOwnershipBuilder
OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

buildAction
Action<TableBuilder<TRelatedEntity>>

テーブルの構成を実行するアクション。

戻り値

OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細については、「 エンティティ型とリレーションシップのモデリング 」を参照してください。

適用対象

ToTable<TOwnerEntity,TRelatedEntity>(OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>, String, String, Boolean)

注意事項

Use the overload with an Action parameter

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TEntity,TRelatedEntity> ToTable<TEntity,TRelatedEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TEntity,TRelatedEntity> referenceOwnershipBuilder, string name, string schema, bool excludedFromMigrations) where TEntity : class where TRelatedEntity : class;
[System.Obsolete("Use the overload with an Action parameter")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity> ToTable<TOwnerEntity,TRelatedEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity> referenceOwnershipBuilder, string? name, string? schema, bool excludedFromMigrations) where TOwnerEntity : class where TRelatedEntity : class;
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'Entity, 'RelatedEntity (requires 'Entity : null and 'RelatedEntity : null)> * string * string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'Entity, 'RelatedEntity (requires 'Entity : null and 'RelatedEntity : null)> (requires 'Entity : null and 'RelatedEntity : null)
[<System.Obsolete("Use the overload with an Action parameter")>]
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'RelatedEntity (requires 'OwnerEntity : null and 'RelatedEntity : null)> * string * string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'RelatedEntity (requires 'OwnerEntity : null and 'RelatedEntity : null)> (requires 'OwnerEntity : null and 'RelatedEntity : null)
<Extension()>
Public Function ToTable(Of TEntity As Class, TRelatedEntity As Class) (referenceOwnershipBuilder As OwnedNavigationBuilder(Of TEntity, TRelatedEntity), name As String, schema As String, excludedFromMigrations As Boolean) As OwnedNavigationBuilder(Of TEntity, TRelatedEntity)
<Extension()>
Public Function ToTable(Of TOwnerEntity As Class, TRelatedEntity As Class) (referenceOwnershipBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TRelatedEntity), name As String, schema As String, excludedFromMigrations As Boolean) As OwnedNavigationBuilder(Of TOwnerEntity, TRelatedEntity)

型パラメーター

TEntity TOwnerEntity
TRelatedEntity

このリレーションシップが対象とするエンティティ型。

パラメーター

referenceOwnershipBuilder
OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

schema
String

テーブルのスキーマ。

excludedFromMigrations
Boolean

テーブルを移行によって管理する必要があるかどうかを示す値。

戻り値

OwnedNavigationBuilder<TEntity,TRelatedEntity>
OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

属性

注釈

詳細については、「 エンティティ型とリレーションシップのモデリング 」を参照してください。

適用対象

ToTable<TOwnerEntity,TRelatedEntity>(OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>, String, Boolean)

注意事項

Use the overload with an Action parameter

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TEntity,TRelatedEntity> ToTable<TEntity,TRelatedEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TEntity,TRelatedEntity> referenceOwnershipBuilder, string name, bool excludedFromMigrations) where TEntity : class where TRelatedEntity : class;
[System.Obsolete("Use the overload with an Action parameter")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity> ToTable<TOwnerEntity,TRelatedEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity> referenceOwnershipBuilder, string? name, bool excludedFromMigrations) where TOwnerEntity : class where TRelatedEntity : class;
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'Entity, 'RelatedEntity (requires 'Entity : null and 'RelatedEntity : null)> * string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'Entity, 'RelatedEntity (requires 'Entity : null and 'RelatedEntity : null)> (requires 'Entity : null and 'RelatedEntity : null)
[<System.Obsolete("Use the overload with an Action parameter")>]
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'RelatedEntity (requires 'OwnerEntity : null and 'RelatedEntity : null)> * string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'RelatedEntity (requires 'OwnerEntity : null and 'RelatedEntity : null)> (requires 'OwnerEntity : null and 'RelatedEntity : null)
<Extension()>
Public Function ToTable(Of TEntity As Class, TRelatedEntity As Class) (referenceOwnershipBuilder As OwnedNavigationBuilder(Of TEntity, TRelatedEntity), name As String, excludedFromMigrations As Boolean) As OwnedNavigationBuilder(Of TEntity, TRelatedEntity)
<Extension()>
Public Function ToTable(Of TOwnerEntity As Class, TRelatedEntity As Class) (referenceOwnershipBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TRelatedEntity), name As String, excludedFromMigrations As Boolean) As OwnedNavigationBuilder(Of TOwnerEntity, TRelatedEntity)

型パラメーター

TEntity TOwnerEntity
TRelatedEntity

このリレーションシップが対象とするエンティティ型。

パラメーター

referenceOwnershipBuilder
OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

excludedFromMigrations
Boolean

テーブルを移行によって管理する必要があるかどうかを示す値。

戻り値

OwnedNavigationBuilder<TEntity,TRelatedEntity>
OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

属性

注釈

詳細については、「 エンティティ型とリレーションシップのモデリング 」を参照してください。

適用対象

ToTable<TOwnerEntity,TRelatedEntity>(OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>, Action<TableBuilder<TRelatedEntity>>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity> ToTable<TOwnerEntity,TRelatedEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity> referenceOwnershipBuilder, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<TRelatedEntity>> buildAction) where TOwnerEntity : class where TRelatedEntity : class;
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'RelatedEntity (requires 'OwnerEntity : null and 'RelatedEntity : null)> * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<'RelatedEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'RelatedEntity (requires 'OwnerEntity : null and 'RelatedEntity : null)> (requires 'OwnerEntity : null and 'RelatedEntity : null)
<Extension()>
Public Function ToTable(Of TOwnerEntity As Class, TRelatedEntity As Class) (referenceOwnershipBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TRelatedEntity), buildAction As Action(Of TableBuilder(Of TRelatedEntity))) As OwnedNavigationBuilder(Of TOwnerEntity, TRelatedEntity)

型パラメーター

TOwnerEntity
TRelatedEntity

パラメーター

referenceOwnershipBuilder
OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>

構成されているエンティティ型のビルダー。

buildAction
Action<TableBuilder<TRelatedEntity>>

テーブルの構成を実行するアクション。

戻り値

OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細については、「 エンティティ型とリレーションシップのモデリング 」を参照してください。

適用対象

ToTable<TOwnerEntity,TRelatedEntity>(OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>, String, String, Action<TableBuilder<TRelatedEntity>>)

リレーショナル データベースを対象とする場合にエンティティ型がマップされるテーブルを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity> ToTable<TOwnerEntity,TRelatedEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity> referenceOwnershipBuilder, string name, string? schema, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<TRelatedEntity>> buildAction) where TOwnerEntity : class where TRelatedEntity : class;
static member ToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'RelatedEntity (requires 'OwnerEntity : null and 'RelatedEntity : null)> * string * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<'RelatedEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'RelatedEntity (requires 'OwnerEntity : null and 'RelatedEntity : null)> (requires 'OwnerEntity : null and 'RelatedEntity : null)
<Extension()>
Public Function ToTable(Of TOwnerEntity As Class, TRelatedEntity As Class) (referenceOwnershipBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TRelatedEntity), name As String, schema As String, buildAction As Action(Of TableBuilder(Of TRelatedEntity))) As OwnedNavigationBuilder(Of TOwnerEntity, TRelatedEntity)

型パラメーター

TOwnerEntity
TRelatedEntity

パラメーター

referenceOwnershipBuilder
OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>

構成されているエンティティ型のビルダー。

name
String

テーブルの名前。

schema
String

テーブルのスキーマ。

buildAction
Action<TableBuilder<TRelatedEntity>>

テーブルの構成を実行するアクション。

戻り値

OwnedNavigationBuilder<TOwnerEntity,TRelatedEntity>

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細については、「 エンティティ型とリレーションシップのモデリング 」を参照してください。

適用対象