ConventionTypeConfiguration.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<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.

public ConventionTypeConfiguration MapToStoredProcedures()

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration

The 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.ConventionTypeConfiguration

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