SqlServerEntityTypeBuilderExtensions.ForSqlServerToTable Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
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
Entity Framework
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro