ManyToManyAssociationMappingConfiguration.MapLeftKey Method (String[])

 

Configures the name of the column(s) for the left foreign key. The left foreign key points to the parent entity of the navigation property specified in the HasMany call.

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

public ManyToManyAssociationMappingConfiguration MapLeftKey(
	params string[] keyColumnNames
)

Parameters

keyColumnNames
Type: System.String[]

The foreign key column names. When using multiple foreign key properties, the properties must be specified in the same order that the the primary key properties were configured for the target entity type.

Return Value

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

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