src/Shared/EntityFramework/ModelConfiguration/Configuration/Types/ConventionTypeConfiguration.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 <see cref="ConventionTypeConfiguration" /> instance so that multiple calls can be chained.
/// </returns>
/// <remarks>
/// Calling this will have no effect once it has been configured.
/// </remarks>
Configures the table name that this entity type is mapped to.
Configures the table name that this entity type is mapped to .
public ConventionTypeConfiguration ToTable(string tableName)
        {
            Check.NotEmpty(tableName, "tableName");
            ValidateConfiguration(ConfigurationAspect.ToTable);
            if (_entityTypeConfiguration != null
                && !_entityTypeConfiguration().IsTableNameConfigured)
            {
                var databaseName = DatabaseName.Parse(tableName);
                _entityTypeConfiguration().ToTable(databaseName.Name, databaseName.Schema);
            }
            return this;
        }
public ConventionTypeConfiguration ToTable ( string tableName ) { Check . NotEmpty ( tableName , " " ) ; ValidateConfiguration ( ConfigurationAspect . ToTable ) ; if ( _entityTypeConfiguration != null && ! _entityTypeConfiguration ( ) . IsTableNameConfigured ) { 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  instance so that multiple calls can be chained.
The same instance so that multiple calls can be chained .
tableName
string
The name of the table.
The name of the table .
remarks
Calling this will have no effect once it has been configured.
Calling this will have no effect once it has been configured .