EntityTypeConfiguration<TEntityType>.MapToStoredProcedures Method
[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]
Configures this type to use stored procedures for insert, update and delete. The default conventions for procedure and parameter names will be used.
Namespace: System.Data.Entity.ModelConfiguration
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
Public Function MapToStoredProcedures As EntityTypeConfiguration(Of TEntityType)
'Usage
Dim instance As EntityTypeConfiguration
Dim returnValue As EntityTypeConfiguration(Of TEntityType)
returnValue = instance.MapToStoredProcedures()
public EntityTypeConfiguration<TEntityType> MapToStoredProcedures()
public:
EntityTypeConfiguration<TEntityType>^ MapToStoredProcedures()
member MapToStoredProcedures : unit -> EntityTypeConfiguration<'TEntityType>
public function MapToStoredProcedures() : EntityTypeConfiguration<TEntityType>
Return Value
Type: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<TEntityType>
The same configuration instance so that multiple calls can be chained.
See Also
Reference
EntityTypeConfiguration<TEntityType> Class