RelationalEntityTypeBuilderExtensions.SplitToTable 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í
SplitToTable(EntityTypeBuilder, String, Action<SplitTableBuilder>) |
Nakonfiguruje některé vlastnosti tohoto typu entity tak, aby se mapovaly na jinou tabulku. Vlastnosti primárního klíče jsou mapovány na všechny tabulky, ostatní vlastnosti musí být explicitně mapovány. |
SplitToTable(OwnedNavigationBuilder, String, Action<OwnedNavigationSplitTableBuilder>) |
Nakonfiguruje některé vlastnosti tohoto typu entity tak, aby se mapovaly na jinou tabulku. Vlastnosti primárního klíče jsou mapovány na všechny tabulky, ostatní vlastnosti musí být explicitně mapovány. |
SplitToTable(EntityTypeBuilder, String, String, Action<SplitTableBuilder>) |
Nakonfiguruje některé vlastnosti tohoto typu entity tak, aby se mapovaly na jinou tabulku. Vlastnosti primárního klíče jsou mapovány na všechny tabulky, ostatní vlastnosti musí být explicitně mapovány. |
SplitToTable(OwnedNavigationBuilder, String, String, Action<OwnedNavigationSplitTableBuilder>) |
Nakonfiguruje některé vlastnosti tohoto typu entity tak, aby se mapovaly na jinou tabulku. Vlastnosti primárního klíče jsou mapovány na všechny tabulky, ostatní vlastnosti musí být explicitně mapovány. |
SplitToTable<TEntity>(EntityTypeBuilder<TEntity>, String, Action<SplitTableBuilder<TEntity>>) |
Nakonfiguruje některé vlastnosti tohoto typu entity tak, aby se mapovaly na jinou tabulku. Vlastnosti primárního klíče jsou mapovány na všechny tabulky, ostatní vlastnosti musí být explicitně mapovány. |
SplitToTable<TEntity>(EntityTypeBuilder<TEntity>, String, String, Action<SplitTableBuilder<TEntity>>) |
Nakonfiguruje některé vlastnosti tohoto typu entity tak, aby se mapovaly na jinou tabulku. Vlastnosti primárního klíče jsou mapovány na všechny tabulky, ostatní vlastnosti musí být explicitně mapovány. |
SplitToTable<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, String, Action<OwnedNavigationSplitTableBuilder<TOwnerEntity, TDependentEntity>>) |
Nakonfiguruje některé vlastnosti tohoto typu entity tak, aby se mapovaly na jinou tabulku. Vlastnosti primárního klíče jsou mapovány na všechny tabulky, ostatní vlastnosti musí být explicitně mapovány. |
SplitToTable<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, String, String, Action<OwnedNavigationSplitTableBuilder<TOwnerEntity, TDependentEntity>>) |
Nakonfiguruje některé vlastnosti tohoto typu entity tak, aby se mapovaly na jinou tabulku. Vlastnosti primárního klíče jsou mapovány na všechny tabulky, ostatní vlastnosti musí být explicitně mapovány. |
SplitToTable(EntityTypeBuilder, String, Action<SplitTableBuilder>)
Nakonfiguruje některé vlastnosti tohoto typu entity tak, aby se mapovaly na jinou tabulku. Vlastnosti primárního klíče jsou mapovány na všechny tabulky, ostatní vlastnosti musí být explicitně mapovány.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder SplitToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.SplitTableBuilder> buildAction);
static member SplitToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.SplitTableBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
<Extension()>
Public Function SplitToTable (entityTypeBuilder As EntityTypeBuilder, name As String, buildAction As Action(Of SplitTableBuilder)) As EntityTypeBuilder
Parametry
- entityTypeBuilder
- EntityTypeBuilder
Tvůrce pro konfigurovaný typ entity.
- name
- String
Název tabulky.
- buildAction
- Action<SplitTableBuilder>
Akce, která provádí konfiguraci tabulky.
Návraty
Stejná instance tvůrce, aby bylo možné zřetězených více volání.
Poznámky
Další informace a příklady najdete v tématu Modelování typů entit a relací .
Platí pro
SplitToTable(OwnedNavigationBuilder, String, Action<OwnedNavigationSplitTableBuilder>)
Nakonfiguruje některé vlastnosti tohoto typu entity tak, aby se mapovaly na jinou tabulku. Vlastnosti primárního klíče jsou mapovány na všechny tabulky, ostatní vlastnosti musí být explicitně mapovány.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder SplitToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ownedNavigationBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationSplitTableBuilder> buildAction);
static member SplitToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationSplitTableBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function SplitToTable (ownedNavigationBuilder As OwnedNavigationBuilder, name As String, buildAction As Action(Of OwnedNavigationSplitTableBuilder)) As OwnedNavigationBuilder
Parametry
- ownedNavigationBuilder
- OwnedNavigationBuilder
Tvůrce pro konfigurovaný typ entity.
- name
- String
Název tabulky.
- buildAction
- Action<OwnedNavigationSplitTableBuilder>
Akce, která provádí konfiguraci tabulky.
Návraty
Stejná instance tvůrce, aby bylo možné zřetězených více volání.
Poznámky
Další informace a příklady najdete v tématu Modelování typů entit a relací .
Platí pro
SplitToTable(EntityTypeBuilder, String, String, Action<SplitTableBuilder>)
Nakonfiguruje některé vlastnosti tohoto typu entity tak, aby se mapovaly na jinou tabulku. Vlastnosti primárního klíče jsou mapovány na všechny tabulky, ostatní vlastnosti musí být explicitně mapovány.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder SplitToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, string name, string? schema, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.SplitTableBuilder> buildAction);
static member SplitToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * string * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.SplitTableBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
<Extension()>
Public Function SplitToTable (entityTypeBuilder As EntityTypeBuilder, name As String, schema As String, buildAction As Action(Of SplitTableBuilder)) As EntityTypeBuilder
Parametry
- entityTypeBuilder
- EntityTypeBuilder
Tvůrce pro konfigurovaný typ entity.
- name
- String
Název tabulky.
- schema
- String
Schéma tabulky.
- buildAction
- Action<SplitTableBuilder>
Akce, která provádí konfiguraci tabulky.
Návraty
Stejná instance tvůrce, aby bylo možné zřetězených více volání.
Poznámky
Další informace a příklady najdete v tématu Modelování typů entit a relací .
Platí pro
SplitToTable(OwnedNavigationBuilder, String, String, Action<OwnedNavigationSplitTableBuilder>)
Nakonfiguruje některé vlastnosti tohoto typu entity tak, aby se mapovaly na jinou tabulku. Vlastnosti primárního klíče jsou mapovány na všechny tabulky, ostatní vlastnosti musí být explicitně mapovány.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder SplitToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ownedNavigationBuilder, string name, string? schema, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationSplitTableBuilder> buildAction);
static member SplitToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationSplitTableBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function SplitToTable (ownedNavigationBuilder As OwnedNavigationBuilder, name As String, schema As String, buildAction As Action(Of OwnedNavigationSplitTableBuilder)) As OwnedNavigationBuilder
Parametry
- ownedNavigationBuilder
- OwnedNavigationBuilder
Tvůrce pro konfigurovaný typ entity.
- name
- String
Název tabulky.
- schema
- String
Schéma tabulky.
- buildAction
- Action<OwnedNavigationSplitTableBuilder>
Akce, která provádí konfiguraci tabulky.
Návraty
Stejná instance tvůrce, aby bylo možné zřetězených více volání.
Poznámky
Další informace a příklady najdete v tématu Modelování typů entit a relací .
Platí pro
SplitToTable<TEntity>(EntityTypeBuilder<TEntity>, String, Action<SplitTableBuilder<TEntity>>)
Nakonfiguruje některé vlastnosti tohoto typu entity tak, aby se mapovaly na jinou tabulku. Vlastnosti primárního klíče jsou mapovány na všechny tabulky, ostatní vlastnosti musí být explicitně mapovány.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> SplitToTable<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.SplitTableBuilder<TEntity>> buildAction) where TEntity : class;
static member SplitToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.SplitTableBuilder<'Entity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function SplitToTable(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), name As String, buildAction As Action(Of SplitTableBuilder(Of TEntity))) 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.
- buildAction
- Action<SplitTableBuilder<TEntity>>
Akce, která provádí konfiguraci tabulky.
Návraty
Stejná instance tvůrce, aby bylo možné zřetězených více volání.
Poznámky
Další informace a příklady najdete v tématu Modelování typů entit a relací .
Platí pro
SplitToTable<TEntity>(EntityTypeBuilder<TEntity>, String, String, Action<SplitTableBuilder<TEntity>>)
Nakonfiguruje některé vlastnosti tohoto typu entity tak, aby se mapovaly na jinou tabulku. Vlastnosti primárního klíče jsou mapovány na všechny tabulky, ostatní vlastnosti musí být explicitně mapovány.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> SplitToTable<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string name, string? schema, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.SplitTableBuilder<TEntity>> buildAction) where TEntity : class;
static member SplitToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> * string * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.SplitTableBuilder<'Entity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function SplitToTable(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), name As String, schema As String, buildAction As Action(Of SplitTableBuilder(Of TEntity))) 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.
- buildAction
- Action<SplitTableBuilder<TEntity>>
Akce, která provádí konfiguraci tabulky.
Návraty
Stejná instance tvůrce, aby bylo možné zřetězených více volání.
Poznámky
Další informace a příklady najdete v tématu Modelování typů entit a relací .
Platí pro
SplitToTable<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, String, Action<OwnedNavigationSplitTableBuilder<TOwnerEntity, TDependentEntity>>)
Nakonfiguruje některé vlastnosti tohoto typu entity tak, aby se mapovaly na jinou tabulku. Vlastnosti primárního klíče jsou mapovány na všechny tabulky, ostatní vlastnosti musí být explicitně mapovány.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> SplitToTable<TOwnerEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ownedNavigationBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationSplitTableBuilder<TOwnerEntity,TDependentEntity>> buildAction) where TOwnerEntity : class where TDependentEntity : class;
static member SplitToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationSplitTableBuilder<'OwnerEntity, 'DependentEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'OwnerEntity : null and 'DependentEntity : null)
<Extension()>
Public Function SplitToTable(Of TOwnerEntity As Class, TDependentEntity As Class) (ownedNavigationBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity), name As String, buildAction As Action(Of OwnedNavigationSplitTableBuilder(Of TOwnerEntity, TDependentEntity))) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)
Parametry typu
- TOwnerEntity
Typ entity, která vlastní relaci.
- TDependentEntity
Závislý typ entity relace.
Parametry
- ownedNavigationBuilder
- OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>
Tvůrce pro konfigurovaný typ entity.
- name
- String
Název tabulky.
- buildAction
- Action<OwnedNavigationSplitTableBuilder<TOwnerEntity,TDependentEntity>>
Akce, která provádí konfiguraci tabulky.
Návraty
Stejná instance tvůrce, aby bylo možné zřetězených více volání.
Poznámky
Další informace a příklady najdete v tématu Modelování typů entit a relací .
Platí pro
SplitToTable<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, String, String, Action<OwnedNavigationSplitTableBuilder<TOwnerEntity, TDependentEntity>>)
Nakonfiguruje některé vlastnosti tohoto typu entity tak, aby se mapovaly na jinou tabulku. Vlastnosti primárního klíče jsou mapovány na všechny tabulky, ostatní vlastnosti musí být explicitně mapovány.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> SplitToTable<TOwnerEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ownedNavigationBuilder, string name, string? schema, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationSplitTableBuilder<TOwnerEntity,TDependentEntity>> buildAction) where TOwnerEntity : class where TDependentEntity : class;
static member SplitToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> * string * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationSplitTableBuilder<'OwnerEntity, 'DependentEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'OwnerEntity : null and 'DependentEntity : null)
<Extension()>
Public Function SplitToTable(Of TOwnerEntity As Class, TDependentEntity As Class) (ownedNavigationBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity), name As String, schema As String, buildAction As Action(Of OwnedNavigationSplitTableBuilder(Of TOwnerEntity, TDependentEntity))) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)
Parametry typu
- TOwnerEntity
Typ entity, která vlastní relaci.
- TDependentEntity
Závislý typ entity relace.
Parametry
- ownedNavigationBuilder
- OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>
Tvůrce pro konfigurovaný typ entity.
- name
- String
Název tabulky.
- schema
- String
Schéma tabulky.
- buildAction
- Action<OwnedNavigationSplitTableBuilder<TOwnerEntity,TDependentEntity>>
Akce, která provádí konfiguraci tabulky.
Návraty
Stejná instance tvůrce, aby bylo možné zřetězených více volání.
Poznámky
Další informace a příklady najdete v tématu Modelování typů entit a relací .
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