ManyToManyAssociationMappingConfiguration.MapRightKey(String[]) ManyToManyAssociationMappingConfiguration.MapRightKey(String[]) ManyToManyAssociationMappingConfiguration.MapRightKey(String[]) Method

Definition

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

public System.Data.Entity.ModelConfiguration.Configuration.ManyToManyAssociationMappingConfiguration MapRightKey (params string[] keyColumnNames);
member this.MapRightKey : string[] -> System.Data.Entity.ModelConfiguration.Configuration.ManyToManyAssociationMappingConfiguration
Public Function MapRightKey (ParamArray keyColumnNames As String()) As ManyToManyAssociationMappingConfiguration

Parameters

keyColumnNames
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.

Returns

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

Applies to