EntityTypeConfiguration<TEntityType>.MapToStoredProcedures Method

 

Configures the method to map to stored procedures.

Namespace:   System.Data.Entity.ModelConfiguration
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodMapToStoredProcedures()

Configures this type to use stored procedures for insert, update and delete. The default conventions for procedure and parameter names will be used.

System_CAPS_pubmethodMapToStoredProcedures(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.

public EntityTypeConfiguration<TEntityType> MapToStoredProcedures()

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.