EntityTypeConfiguration<TEntityType>.MapToStoredProcedures Method
Configures the method to map to stored procedures.
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<ModificationStoredProceduresConfiguration<TEntityType>>) | Configures this type to use stored procedures for insert, update and delete. |
EntityTypeConfiguration<TEntityType>.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.EntityTypeConfiguration<TEntityType>The same configuration instance so that multiple calls can be chained.
EntityTypeConfiguration<TEntityType>.MapToStoredProcedures Method (Action<ModificationStoredProceduresConfiguration<TEntityType>>)
Configures this type to use stored procedures for insert, update and delete.
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] public EntityTypeConfiguration<TEntityType> MapToStoredProcedures( Action<ModificationStoredProceduresConfiguration<TEntityType>> modificationStoredProcedureMappingConfigurationAction )
Parameters
- modificationStoredProcedureMappingConfigurationAction
-
Type:
System.Action<ModificationStoredProceduresConfiguration<TEntityType>>
Configuration to override the default conventions for procedure and parameter names.
Return Value
Type: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<TEntityType>The same configuration instance so that multiple calls can be chained.