ConventionTypeConfiguration<T>.MapToStoredProcedures Method

 

Configures this type to use stored procedures for insert, update and delete.

Namespace:   System.Data.Entity.ModelConfiguration.Configuration
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<T>>)

Configures this type to use stored procedures for insert, update and delete.


ConventionTypeConfiguration<T>.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 ConventionTypeConfiguration<T> MapToStoredProcedures()

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration<T>

The same configuration instance so that multiple calls can be chained.


ConventionTypeConfiguration<T>.MapToStoredProcedures Method (Action<ModificationStoredProceduresConfiguration<T>>)

Configures this type to use stored procedures for insert, update and delete.

[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public ConventionTypeConfiguration<T> MapToStoredProcedures(
	Action<ModificationStoredProceduresConfiguration<T>> modificationStoredProceduresConfigurationAction
)

Parameters

modificationStoredProceduresConfigurationAction
Type: System.Action<ModificationStoredProceduresConfiguration<T>>

Configuration to override the default conventions for procedure and parameter names.

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration<T>

The same configuration instance so that multiple calls can be chained.