EntityTypeConfiguration<TEntityType>.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<ModificationStoredProceduresConfiguration<TEntityType>>)

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.EntityTypeConfiguration<TEntityType> MapToStoredProcedures ();
member this.MapToStoredProcedures : unit -> System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<'EntityType (requires 'EntityType : null)>
Public Function MapToStoredProcedures () As EntityTypeConfiguration(Of TEntityType)

Returns

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

Applies to

MapToStoredProcedures(Action<ModificationStoredProceduresConfiguration<TEntityType>>)

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

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<TEntityType> MapToStoredProcedures (Action<System.Data.Entity.ModelConfiguration.Configuration.ModificationStoredProceduresConfiguration<TEntityType>> modificationStoredProcedureMappingConfigurationAction);
member this.MapToStoredProcedures : Action<System.Data.Entity.ModelConfiguration.Configuration.ModificationStoredProceduresConfiguration<'EntityType>> -> System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<'EntityType (requires 'EntityType : null)>
Public Function MapToStoredProcedures (modificationStoredProcedureMappingConfigurationAction As Action(Of ModificationStoredProceduresConfiguration(Of TEntityType))) As EntityTypeConfiguration(Of TEntityType)

Parameters

modificationStoredProcedureMappingConfigurationAction
Action<ModificationStoredProceduresConfiguration<TEntityType>>

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

Returns

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

Attributes

Applies to