src/Shared/EntityFramework/ModelConfiguration/EntityTypeConfiguration.cs
/// <summary>
/// Configures the table name that this entity type is mapped to.
/// </summary>
/// <param name="tableName"> The name of the table. </param>
/// <param name="schemaName"> The database schema of the table. </param>
/// <returns> The same EntityTypeConfiguration instance so that multiple calls can be chained. </returns>
Configures the table name that this entity type is mapped to.
Configures the table name that this entity type is mapped to .
public EntityTypeConfiguration<TEntityType> ToTable(string tableName, string schemaName)
        {
            Check.NotEmpty(tableName, "tableName");
            _entityTypeConfiguration.ToTable(tableName, schemaName);
            return this;
        }
public EntityTypeConfiguration < TEntityType > ToTable ( string tableName , string schemaName ) { Check . NotEmpty ( tableName , " " ) ; _entityTypeConfiguration . ToTable ( tableName , schemaName ) ; return this ; }
Configures the table name that this entity type is mapped to.
Configures the table name that this entity type is mapped to .
The same EntityTypeConfiguration instance so that multiple calls can be chained.
The same EntityTypeConfiguration instance so that multiple calls can be chained .
tableName
string
The name of the table.
The name of the table .
schemaName
string
The database schema of the table.
The database schema of the table .