Udostępnij za pośrednictwem


SqlServerEntityTypeBuilderExtensions.ForSqlServerToTable Metoda

Definicja

Przeciążenia

ForSqlServerToTable(EntityTypeBuilder, String, String)

Konfiguruje tabelę, na którą jednostka jest mapowana podczas określania wartości docelowej SQL Server.

ForSqlServerToTable(EntityTypeBuilder, String)

Konfiguruje tabelę, na którą jednostka jest mapowana podczas określania wartości docelowej SQL Server.

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

Konfiguruje tabelę, na którą jednostka jest mapowana podczas określania wartości docelowej SQL Server.

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

Konfiguruje tabelę, na którą jednostka jest mapowana podczas określania wartości docelowej SQL Server.

ForSqlServerToTable(EntityTypeBuilder, String, String)

Konfiguruje tabelę, na którą jednostka jest mapowana podczas określania wartości docelowej 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

Konstruktor dla konfigurowanego typu jednostki.

name
String

Nazwa tabeli.

schema
String

Schemat tabeli.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.

Dotyczy

ForSqlServerToTable(EntityTypeBuilder, String)

Konfiguruje tabelę, na którą jednostka jest mapowana podczas określania wartości docelowej 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

Konstruktor dla konfigurowanego typu jednostki.

name
String

Nazwa tabeli.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.

Dotyczy

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

Konfiguruje tabelę, na którą jednostka jest mapowana podczas określania wartości docelowej 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

Konfigurowany typ jednostki.

Parametry

entityTypeBuilder
EntityTypeBuilder<TEntity>

Konstruktor dla konfigurowanego typu jednostki.

name
String

Nazwa tabeli.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.

Dotyczy

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

Konfiguruje tabelę, na którą jednostka jest mapowana podczas określania wartości docelowej 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

Konfigurowany typ jednostki.

Parametry

entityTypeBuilder
EntityTypeBuilder<TEntity>

Konstruktor dla konfigurowanego typu jednostki.

name
String

Nazwa tabeli.

schema
String

Schemat tabeli.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.

Dotyczy