EntityMappingConfiguration<TEntityType>.ToTable Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| ToTable(String) |
Konfiguriert den Tabellennamen, dem zugeordnet werden soll. |
| ToTable(String, String) |
Konfiguriert den Tabellennamen und das Schema, dem zugeordnet werden soll. |
ToTable(String)
Konfiguriert den Tabellennamen, dem zugeordnet werden soll.
public System.Data.Entity.ModelConfiguration.Configuration.EntityMappingConfiguration<TEntityType> ToTable(string tableName);
member this.ToTable : string -> System.Data.Entity.ModelConfiguration.Configuration.EntityMappingConfiguration<'EntityType (requires 'EntityType : null)>
Public Function ToTable (tableName As String) As EntityMappingConfiguration(Of TEntityType)
Parameter
- tableName
- String
Name der Tabelle.
Gibt zurück
Dieselbe Konfigurationsinstanz, sodass mehrere Aufrufe verkettet werden können.
Gilt für:
ToTable(String, String)
Konfiguriert den Tabellennamen und das Schema, dem zugeordnet werden soll.
public System.Data.Entity.ModelConfiguration.Configuration.EntityMappingConfiguration<TEntityType> ToTable(string tableName, string schemaName);
member this.ToTable : string * string -> System.Data.Entity.ModelConfiguration.Configuration.EntityMappingConfiguration<'EntityType (requires 'EntityType : null)>
Public Function ToTable (tableName As String, schemaName As String) As EntityMappingConfiguration(Of TEntityType)
Parameter
- tableName
- String
Name der Tabelle.
- schemaName
- String
Schema der Tabelle.
Gibt zurück
Dieselbe Konfigurationsinstanz, sodass mehrere Aufrufe verkettet werden können.