ConventionTypeConfiguration.MapToStoredProcedures Method
Configures this type to use stored procedures for insert, update and delete.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | 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<ConventionModificationStoredProceduresConfiguration>) | Configures this type to use stored procedures for insert, update and delete. |
ConventionTypeConfiguration.MapToStoredProcedures Method ()
Configures this type to use stored procedures for insert, update and delete. The default conventions for procedure and parameter names will be used.
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfigurationThe same configuration instance so that multiple calls can be chained.
ConventionTypeConfiguration.MapToStoredProcedures Method (Action<ConventionModificationStoredProceduresConfiguration>)
Configures this type to use stored procedures for insert, update and delete.
public ConventionTypeConfiguration MapToStoredProcedures(
Action<ConventionModificationStoredProceduresConfiguration> modificationStoredProceduresConfigurationAction
)
Parameters
- modificationStoredProceduresConfigurationAction
-
Type:
System.Action<ConventionModificationStoredProceduresConfiguration>
Configuration to override the default conventions for procedure and parameter names.
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfigurationThe same configuration instance so that multiple calls can be chained.