Metodo ManyToManyNavigationPropertyConfiguration<TEntityType, TTargetEntityType>.MapToStoredProcedures (Action<ManyToManyModificationStoredProceduresConfiguration<TEntityType, TTargetEntityType>>)
[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]
Configura le stored procedure da utilizzare per la modifica di questa relazione.
Spazio dei nomi: System.Data.Entity.ModelConfiguration.Configuration
Assembly: EntityFramework (in EntityFramework.dll)
Sintassi
'Dichiarazione
<SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")> _
Public Function MapToStoredProcedures ( _
modificationStoredProcedureMappingConfigurationAction As Action(Of ManyToManyModificationStoredProceduresConfiguration(Of TEntityType, TTargetEntityType)) _
) As ManyToManyNavigationPropertyConfiguration(Of TEntityType, TTargetEntityType)
'Utilizzo
Dim instance As ManyToManyNavigationPropertyConfiguration
Dim modificationStoredProcedureMappingConfigurationAction As Action(Of ManyToManyModificationStoredProceduresConfiguration(Of TEntityType, TTargetEntityType))
Dim returnValue As ManyToManyNavigationPropertyConfiguration(Of TEntityType, TTargetEntityType)
returnValue = instance.MapToStoredProcedures(modificationStoredProcedureMappingConfigurationAction)
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public ManyToManyNavigationPropertyConfiguration<TEntityType, TTargetEntityType> MapToStoredProcedures(
Action<ManyToManyModificationStoredProceduresConfiguration<TEntityType, TTargetEntityType>> modificationStoredProcedureMappingConfigurationAction
)
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1006:DoNotNestGenericTypesInMemberSignatures")]
public:
ManyToManyNavigationPropertyConfiguration<TEntityType, TTargetEntityType>^ MapToStoredProcedures(
Action<ManyToManyModificationStoredProceduresConfiguration<TEntityType, TTargetEntityType>^>^ modificationStoredProcedureMappingConfigurationAction
)
[<SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")>]
member MapToStoredProcedures :
modificationStoredProcedureMappingConfigurationAction:Action<ManyToManyModificationStoredProceduresConfiguration<'TEntityType, 'TTargetEntityType>> -> ManyToManyNavigationPropertyConfiguration<'TEntityType, 'TTargetEntityType>
public function MapToStoredProcedures(
modificationStoredProcedureMappingConfigurationAction : Action<ManyToManyModificationStoredProceduresConfiguration<TEntityType, TTargetEntityType>>
) : ManyToManyNavigationPropertyConfiguration<TEntityType, TTargetEntityType>
Parametri
- modificationStoredProcedureMappingConfigurationAction
Tipo: System.Action<ManyToManyModificationStoredProceduresConfiguration<TEntityType, TTargetEntityType>>
Configurazione per eseguire l'override delle convenzioni predefinite per i nomi della procedura e del parametro.
Valore restituito
Tipo: System.Data.Entity.ModelConfiguration.Configuration.ManyToManyNavigationPropertyConfiguration<TEntityType, TTargetEntityType>
Stessa istanza dell'oggetto ManyToManyNavigationPropertyConfiguration<TEntityType, TTargetEntityType> in modo che possano essere concatenate più chiamate.
Vedere anche
Riferimento
ManyToManyNavigationPropertyConfiguration<TEntityType, TTargetEntityType> Classe
Overload MapToStoredProcedures
Spazio dei nomi System.Data.Entity.ModelConfiguration.Configuration