Sdílet prostřednictvím


ManyToManyNavigationPropertyConfiguration<TEntityType,TTargetEntityType>.Map Metoda

Definice

Nakonfiguruje sloupce cizího klíče a tabulku sloužící k uložení relace.

public System.Data.Entity.ModelConfiguration.Configuration.ManyToManyNavigationPropertyConfiguration<TEntityType,TTargetEntityType> Map (Action<System.Data.Entity.ModelConfiguration.Configuration.ManyToManyAssociationMappingConfiguration> configurationAction);
member this.Map : Action<System.Data.Entity.ModelConfiguration.Configuration.ManyToManyAssociationMappingConfiguration> -> System.Data.Entity.ModelConfiguration.Configuration.ManyToManyNavigationPropertyConfiguration<'EntityType, 'argetEntityType (requires 'EntityType : null and 'argetEntityType : null)>
Public Function Map (configurationAction As Action(Of ManyToManyAssociationMappingConfiguration)) As ManyToManyNavigationPropertyConfiguration(Of TEntityType, TTargetEntityType)

Parametry

configurationAction
Action<ManyToManyAssociationMappingConfiguration>

Akce, která konfiguruje sloupce cizího klíče a tabulku.

Návraty

Stejná ManyToManyNavigationPropertyConfiguration<TEntityType,TTargetEntityType> instance, aby bylo možné zřetězených více volání.

Platí pro