ModificationStoredProceduresConfiguration<TEntityType>.Insert 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 stored procedure used to insert entities.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.ModificationStoredProceduresConfiguration<TEntityType> Insert (Action<System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<TEntityType>> modificationStoredProcedureConfigurationAction);
member this.Insert : Action<System.Data.Entity.ModelConfiguration.Configuration.InsertModificationStoredProcedureConfiguration<'EntityType>> -> System.Data.Entity.ModelConfiguration.Configuration.ModificationStoredProceduresConfiguration<'EntityType (requires 'EntityType : null)>
Public Function Insert (modificationStoredProcedureConfigurationAction As Action(Of InsertModificationStoredProcedureConfiguration(Of TEntityType))) As ModificationStoredProceduresConfiguration(Of TEntityType)
Parameters
- modificationStoredProcedureConfigurationAction
- Action<InsertModificationStoredProcedureConfiguration<TEntityType>>
A lambda expression that performs configuration for the stored procedure.
Returns
The same configuration instance so that multiple calls can be chained.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework