Metodo ManyToManyModificationStoredProceduresConfiguration<TEntityType, TTargetEntityType>.Insert
[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 la stored procedura utilizzata per inserire le relazioni.
Spazio dei nomi: System.Data.Entity.ModelConfiguration.Configuration
Assembly: EntityFramework (in EntityFramework.dll)
Sintassi
'Dichiarazione
<SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")> _
Public Function Insert ( _
modificationStoredProcedureConfigurationAction As Action(Of ManyToManyModificationStoredProcedureConfiguration(Of TEntityType, TTargetEntityType)) _
) As ManyToManyModificationStoredProceduresConfiguration(Of TEntityType, TTargetEntityType)
'Utilizzo
Dim instance As ManyToManyModificationStoredProceduresConfiguration
Dim modificationStoredProcedureConfigurationAction As Action(Of ManyToManyModificationStoredProcedureConfiguration(Of TEntityType, TTargetEntityType))
Dim returnValue As ManyToManyModificationStoredProceduresConfiguration(Of TEntityType, TTargetEntityType)
returnValue = instance.Insert(modificationStoredProcedureConfigurationAction)
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public ManyToManyModificationStoredProceduresConfiguration<TEntityType, TTargetEntityType> Insert(
Action<ManyToManyModificationStoredProcedureConfiguration<TEntityType, TTargetEntityType>> modificationStoredProcedureConfigurationAction
)
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1006:DoNotNestGenericTypesInMemberSignatures")]
public:
ManyToManyModificationStoredProceduresConfiguration<TEntityType, TTargetEntityType>^ Insert(
Action<ManyToManyModificationStoredProcedureConfiguration<TEntityType, TTargetEntityType>^>^ modificationStoredProcedureConfigurationAction
)
[<SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")>]
member Insert :
modificationStoredProcedureConfigurationAction:Action<ManyToManyModificationStoredProcedureConfiguration<'TEntityType, 'TTargetEntityType>> -> ManyToManyModificationStoredProceduresConfiguration<'TEntityType, 'TTargetEntityType>
public function Insert(
modificationStoredProcedureConfigurationAction : Action<ManyToManyModificationStoredProcedureConfiguration<TEntityType, TTargetEntityType>>
) : ManyToManyModificationStoredProceduresConfiguration<TEntityType, TTargetEntityType>
Parametri
- modificationStoredProcedureConfigurationAction
Tipo: System.Action<ManyToManyModificationStoredProcedureConfiguration<TEntityType, TTargetEntityType>>
Espressione lambda tramite cui viene eseguita la configurazione per la stored procedure.
Valore restituito
Tipo: System.Data.Entity.ModelConfiguration.Configuration.ManyToManyModificationStoredProceduresConfiguration<TEntityType, TTargetEntityType>
Stessa istanza di configurazione in modo da poter concatenare più chiamate.
Vedere anche
Riferimento
ManyToManyModificationStoredProceduresConfiguration<TEntityType, TTargetEntityType> Classe
Spazio dei nomi System.Data.Entity.ModelConfiguration.Configuration