RelationalCollectionOwnershipBuilderExtensions.ToTable Método

Definição

Sobrecargas

ToTable(CollectionOwnershipBuilder, String)

Configura a exibição ou tabela para a qual a entidade mapeia ao direcionar um banco de dados relacional.

ToTable(CollectionOwnershipBuilder, String, String)

Configura a exibição ou tabela para a qual a entidade mapeia ao direcionar um banco de dados relacional.

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

Configura a exibição ou tabela para a qual a entidade mapeia ao direcionar um banco de dados relacional.

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

Configura a exibição ou tabela para a qual a entidade mapeia ao direcionar um banco de dados relacional.

ToTable(CollectionOwnershipBuilder, String)

Configura a exibição ou tabela para a qual a entidade mapeia ao direcionar um banco de dados relacional.

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

Parâmetros

collectionOwnershipBuilder
CollectionOwnershipBuilder

O construtor para o tipo de entidade que está sendo configurado.

name
String

O nome da exibição ou tabela.

Retornos

A mesma instância do construtor para que várias chamadas possam ser encadeadas.

Aplica-se a

ToTable(CollectionOwnershipBuilder, String, String)

Configura a exibição ou tabela para a qual a entidade mapeia ao direcionar um banco de dados relacional.

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

Parâmetros

collectionOwnershipBuilder
CollectionOwnershipBuilder

O construtor para o tipo de entidade que está sendo configurado.

name
String

O nome da exibição ou tabela.

schema
String

O esquema da exibição ou tabela.

Retornos

A mesma instância do construtor para que várias chamadas possam ser encadeadas.

Aplica-se a

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

Configura a exibição ou tabela para a qual a entidade mapeia ao direcionar um banco de dados relacional.

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)

Parâmetros de tipo

TEntity

O tipo de entidade que está sendo configurado.

TDependentEntity

O tipo de entidade que essa relação tem como destino.

Parâmetros

collectionOwnershipBuilder
CollectionOwnershipBuilder<TEntity,TDependentEntity>

O construtor para o tipo de entidade que está sendo configurado.

name
String

O nome da exibição ou tabela.

Retornos

A mesma instância do construtor para que várias chamadas possam ser encadeadas.

Aplica-se a

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

Configura a exibição ou tabela para a qual a entidade mapeia ao direcionar um banco de dados relacional.

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)

Parâmetros de tipo

TEntity

O tipo de entidade que está sendo configurado.

TDependentEntity

O tipo de entidade que essa relação tem como destino.

Parâmetros

collectionOwnershipBuilder
CollectionOwnershipBuilder<TEntity,TDependentEntity>

O construtor para o tipo de entidade que está sendo configurado.

name
String

O nome da exibição ou tabela.

schema
String

O esquema da exibição ou tabela.

Retornos

A mesma instância do construtor para que várias chamadas possam ser encadeadas.

Aplica-se a