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>
/// <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)
        {
            Check.NotEmpty(tableName, "tableName");
            var databaseName = DatabaseName.Parse(tableName);
            _entityTypeConfiguration.ToTable(databaseName.Name, databaseName.Schema);
            return this;
        }
public EntityTypeConfiguration < TEntityType > ToTable ( string tableName ) { Check . NotEmpty ( tableName , " " ) ; var databaseName = DatabaseName . Parse ( tableName ) ; _entityTypeConfiguration . ToTable ( databaseName . Name , databaseName . Schema ) ; 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 .