ConventionTypeConfiguration.MapToStoredProcedures Method

Definition

Overloads

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.

MapToStoredProcedures()

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

public System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration MapToStoredProcedures ();
member this.MapToStoredProcedures : unit -> System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration
Public Function MapToStoredProcedures () As ConventionTypeConfiguration

Returns

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

Applies to

MapToStoredProcedures(Action<ConventionModificationStoredProceduresConfiguration>)

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

public System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration MapToStoredProcedures (Action<System.Data.Entity.ModelConfiguration.Configuration.ConventionModificationStoredProceduresConfiguration> modificationStoredProceduresConfigurationAction);
member this.MapToStoredProcedures : Action<System.Data.Entity.ModelConfiguration.Configuration.ConventionModificationStoredProceduresConfiguration> -> System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration
Public Function MapToStoredProcedures (modificationStoredProceduresConfigurationAction As Action(Of ConventionModificationStoredProceduresConfiguration)) As ConventionTypeConfiguration

Parameters

modificationStoredProceduresConfigurationAction
Action<ConventionModificationStoredProceduresConfiguration>

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

Returns

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

Applies to