ManyToManyAssociationMappingConfiguration.ToTable Method
Configures the join table name for the relationship.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | ToTable(String) | Configures the join table name for the relationship. |
![]() | ToTable(String, String) | Configures the join table name and schema for the relationship. |
ManyToManyAssociationMappingConfiguration.ToTable Method (String)
Configures the join table name for the relationship.
Parameters
- tableName
-
Type:
System.String
Name of the table.
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.ManyToManyAssociationMappingConfigurationThe 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.ManyToManyAssociationMappingConfigurationThe same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained.