ConventionTypeConfiguration<T>.MapToStoredProcedures 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.
Overloads
MapToStoredProcedures() |
Configures this type to use stored procedures for insert, update and delete. The default conventions for procedure and parameter names will be used. |
MapToStoredProcedures(Action<ModificationStoredProceduresConfiguration<T>>) |
Configures this type to use stored procedures for insert, update and delete. |
MapToStoredProcedures()
Configures this type to use stored procedures for insert, update and delete. The default conventions for procedure and parameter names will be used.
public System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration<T> MapToStoredProcedures ();
member this.MapToStoredProcedures : unit -> System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration<'T (requires 'T : null)>
Public Function MapToStoredProcedures () As ConventionTypeConfiguration(Of T)
Returns
The same configuration instance so that multiple calls can be chained.
Applies to
MapToStoredProcedures(Action<ModificationStoredProceduresConfiguration<T>>)
Configures this type to use stored procedures for insert, update and delete.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration<T> MapToStoredProcedures (Action<System.Data.Entity.ModelConfiguration.Configuration.ModificationStoredProceduresConfiguration<T>> modificationStoredProceduresConfigurationAction);
member this.MapToStoredProcedures : Action<System.Data.Entity.ModelConfiguration.Configuration.ModificationStoredProceduresConfiguration<'T>> -> System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration<'T (requires 'T : null)>
Public Function MapToStoredProcedures (modificationStoredProceduresConfigurationAction As Action(Of ModificationStoredProceduresConfiguration(Of T))) As ConventionTypeConfiguration(Of T)
Parameters
- modificationStoredProceduresConfigurationAction
- Action<ModificationStoredProceduresConfiguration<T>>
Configuration to override the default conventions for procedure and parameter names.
Returns
The same configuration instance so that multiple calls can be chained.
- Attributes
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for