Sdílet prostřednictvím


RelationalCollectionOwnershipBuilderExtensions.ToTable Metoda

Definice

Přetížení

ToTable(CollectionOwnershipBuilder, String)

Nakonfiguruje zobrazení nebo tabulku, na které entita mapuje při cílení na relační databázi.

ToTable(CollectionOwnershipBuilder, String, String)

Nakonfiguruje zobrazení nebo tabulku, na které entita mapuje při cílení na relační databázi.

ToTable<TEntity,TDependentEntity>(CollectionOwnershipBuilder<TEntity,TDependentEntity>, String)

Nakonfiguruje zobrazení nebo tabulku, na které entita mapuje při cílení na relační databázi.

ToTable<TEntity,TDependentEntity>(CollectionOwnershipBuilder<TEntity,TDependentEntity>, String, String)

Nakonfiguruje zobrazení nebo tabulku, na které entita mapuje při cílení na relační databázi.

ToTable(CollectionOwnershipBuilder, String)

Nakonfiguruje zobrazení nebo tabulku, na které entita mapuje při cílení na relační databázi.

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

Parametry

collectionOwnershipBuilder
CollectionOwnershipBuilder

Tvůrce pro konfigurovaný typ entity.

name
String

Název zobrazení nebo tabulky.

Návraty

Stejná instance tvůrce, aby bylo možné zřetězených více volání.

Platí pro

ToTable(CollectionOwnershipBuilder, String, String)

Nakonfiguruje zobrazení nebo tabulku, na které entita mapuje při cílení na relační databázi.

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

Parametry

collectionOwnershipBuilder
CollectionOwnershipBuilder

Tvůrce pro konfigurovaný typ entity.

name
String

Název zobrazení nebo tabulky.

schema
String

Schéma zobrazení nebo tabulky.

Návraty

Stejná instance tvůrce, aby bylo možné zřetězených více volání.

Platí pro

ToTable<TEntity,TDependentEntity>(CollectionOwnershipBuilder<TEntity,TDependentEntity>, String)

Nakonfiguruje zobrazení nebo tabulku, na které entita mapuje při cílení na relační databázi.

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

Parametry typu

TEntity

Konfigurovaný typ entity.

TDependentEntity

Typ entity, na kterou tento vztah cílí.

Parametry

collectionOwnershipBuilder
CollectionOwnershipBuilder<TEntity,TDependentEntity>

Tvůrce pro konfigurovaný typ entity.

name
String

Název zobrazení nebo tabulky.

Návraty

Stejná instance tvůrce, aby bylo možné zřetězených více volání.

Platí pro

ToTable<TEntity,TDependentEntity>(CollectionOwnershipBuilder<TEntity,TDependentEntity>, String, String)

Nakonfiguruje zobrazení nebo tabulku, na které entita mapuje při cílení na relační databázi.

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

Parametry typu

TEntity

Konfigurovaný typ entity.

TDependentEntity

Typ entity, na kterou tento vztah cílí.

Parametry

collectionOwnershipBuilder
CollectionOwnershipBuilder<TEntity,TDependentEntity>

Tvůrce pro konfigurovaný typ entity.

name
String

Název zobrazení nebo tabulky.

schema
String

Schéma zobrazení nebo tabulky.

Návraty

Stejná instance tvůrce, aby bylo možné zřetězených více volání.

Platí pro