RelationalCollectionOwnershipBuilderExtensions.ToTable Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
ToTable(CollectionOwnershipBuilder, String) |
Konfiguruje widok lub tabelę, na którą jest mapowanie jednostki podczas określania wartości docelowej relacyjnej bazy danych. |
ToTable(CollectionOwnershipBuilder, String, String) |
Konfiguruje widok lub tabelę, na którą jest mapowanie jednostki podczas określania wartości docelowej relacyjnej bazy danych. |
ToTable<TEntity,TDependentEntity>(CollectionOwnershipBuilder<TEntity,TDependentEntity>, String) |
Konfiguruje widok lub tabelę, na którą jest mapowanie jednostki podczas określania wartości docelowej relacyjnej bazy danych. |
ToTable<TEntity,TDependentEntity>(CollectionOwnershipBuilder<TEntity,TDependentEntity>, String, String) |
Konfiguruje widok lub tabelę, na którą jest mapowanie jednostki podczas określania wartości docelowej relacyjnej bazy danych. |
ToTable(CollectionOwnershipBuilder, String)
Konfiguruje widok lub tabelę, na którą jest mapowanie jednostki podczas określania wartości docelowej relacyjnej bazy danych.
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
Konstruktor dla konfigurowanego typu jednostki.
- name
- String
Nazwa widoku lub tabeli.
Zwraca
To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.
Dotyczy
ToTable(CollectionOwnershipBuilder, String, String)
Konfiguruje widok lub tabelę, na którą jest mapowanie jednostki podczas określania wartości docelowej relacyjnej bazy danych.
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
Konstruktor dla konfigurowanego typu jednostki.
- name
- String
Nazwa widoku lub tabeli.
- schema
- String
Schemat widoku lub tabeli.
Zwraca
To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.
Dotyczy
ToTable<TEntity,TDependentEntity>(CollectionOwnershipBuilder<TEntity,TDependentEntity>, String)
Konfiguruje widok lub tabelę, na którą jest mapowanie jednostki podczas określania wartości docelowej relacyjnej bazy danych.
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
Konfigurowany typ jednostki.
- TDependentEntity
Typ jednostki, dla którego jest przeznaczona ta relacja.
Parametry
- collectionOwnershipBuilder
- CollectionOwnershipBuilder<TEntity,TDependentEntity>
Konstruktor dla konfigurowanego typu jednostki.
- name
- String
Nazwa widoku lub tabeli.
Zwraca
To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.
Dotyczy
ToTable<TEntity,TDependentEntity>(CollectionOwnershipBuilder<TEntity,TDependentEntity>, String, String)
Konfiguruje widok lub tabelę, na którą jest mapowanie jednostki podczas określania wartości docelowej relacyjnej bazy danych.
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
Konfigurowany typ jednostki.
- TDependentEntity
Typ jednostki, dla którego jest przeznaczona ta relacja.
Parametry
- collectionOwnershipBuilder
- CollectionOwnershipBuilder<TEntity,TDependentEntity>
Konstruktor dla konfigurowanego typu jednostki.
- name
- String
Nazwa widoku lub tabeli.
- schema
- String
Schemat widoku lub tabeli.
Zwraca
To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.