Share via


SqlServerEntityTypeBuilderExtensions.ForSqlServerToTable Metoda

Definice

Přetížení

ForSqlServerToTable(EntityTypeBuilder, String, String)

Nakonfiguruje tabulku, na kterou se entita mapuje při cílení na SQL Server.

ForSqlServerToTable(EntityTypeBuilder, String)

Nakonfiguruje tabulku, na kterou se entita mapuje při cílení na SQL Server.

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

Nakonfiguruje tabulku, na kterou se entita mapuje při cílení na SQL Server.

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

Nakonfiguruje tabulku, na kterou se entita mapuje při cílení na SQL Server.

ForSqlServerToTable(EntityTypeBuilder, String, String)

Nakonfiguruje tabulku, na kterou se entita mapuje při cílení na SQL Server.

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

Parametry

entityTypeBuilder
EntityTypeBuilder

Tvůrce pro konfigurovaný typ entity.

name
String

Název tabulky.

schema
String

Schéma tabulky.

Návraty

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

Platí pro

ForSqlServerToTable(EntityTypeBuilder, String)

Nakonfiguruje tabulku, na kterou se entita mapuje při cílení na SQL Server.

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

Parametry

entityTypeBuilder
EntityTypeBuilder

Tvůrce pro konfigurovaný typ entity.

name
String

Název tabulky.

Návraty

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

Platí pro

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

Nakonfiguruje tabulku, na kterou se entita mapuje při cílení na SQL Server.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> ForSqlServerToTable<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string name) where TEntity : class;
static member ForSqlServerToTable : 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 ForSqlServerToTable(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), name As String) As EntityTypeBuilder(Of TEntity)

Parametry typu

TEntity

Konfigurovaný typ entity.

Parametry

entityTypeBuilder
EntityTypeBuilder<TEntity>

Tvůrce pro konfigurovaný typ entity.

name
String

Název tabulky.

Návraty

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

Platí pro

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

Nakonfiguruje tabulku, na kterou se entita mapuje při cílení na SQL Server.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> ForSqlServerToTable<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string name, string schema) where TEntity : class;
static member ForSqlServerToTable : 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 ForSqlServerToTable(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), name As String, schema As String) As EntityTypeBuilder(Of TEntity)

Parametry typu

TEntity

Konfigurovaný typ entity.

Parametry

entityTypeBuilder
EntityTypeBuilder<TEntity>

Tvůrce pro konfigurovaný typ entity.

name
String

Název tabulky.

schema
String

Schéma tabulky.

Návraty

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

Platí pro