ManyToManyAssociationMappingConfiguration.MapLeftKey(String[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public System.Data.Entity.ModelConfiguration.Configuration.ManyToManyAssociationMappingConfiguration MapLeftKey (params string[] keyColumnNames);
member this.MapLeftKey : string[] -> System.Data.Entity.ModelConfiguration.Configuration.ManyToManyAssociationMappingConfiguration
Public Function MapLeftKey (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
Entity Framework