ManyToManyAssociationMappingConfiguration.ToTable Method

 

Configures the join table name for the relationship.

Namespace:   System.Data.Entity.ModelConfiguration.Configuration
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodToTable(String)

Configures the join table name for the relationship.

System_CAPS_pubmethodToTable(String, String)

Configures the join table name and schema for the relationship.


ManyToManyAssociationMappingConfiguration.ToTable Method (String)

Configures the join table name for the relationship.

public ManyToManyAssociationMappingConfiguration ToTable(
	string tableName
)

Parameters

tableName
Type: System.String

Name of the table.

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.ManyToManyAssociationMappingConfiguration

The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained.


ManyToManyAssociationMappingConfiguration.ToTable Method (String, String)

Configures the join table name and schema for the relationship.

public ManyToManyAssociationMappingConfiguration ToTable(
	string tableName,
	string schemaName
)

Parameters

tableName
Type: System.String

Name of the table.

schemaName
Type: System.String

Schema of the table.

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.ManyToManyAssociationMappingConfiguration

The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained.