RelationalEntityTypeExtensions.SetUpdateStoredProcedure Method

Definition

Overloads

SetUpdateStoredProcedure(IMutableEntityType)

Maps the entity type to a stored procedure for updates.

SetUpdateStoredProcedure(IConventionEntityType, Boolean)

Maps the entity type to a stored procedure for updates.

SetUpdateStoredProcedure(IMutableEntityType)

Maps the entity type to a stored procedure for updates.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableStoredProcedure SetUpdateStoredProcedure (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member SetUpdateStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableStoredProcedure
<Extension()>
Public Function SetUpdateStoredProcedure (entityType As IMutableEntityType) As IMutableStoredProcedure

Parameters

entityType
IMutableEntityType

The entity type.

Returns

The new stored procedure.

Applies to

SetUpdateStoredProcedure(IConventionEntityType, Boolean)

Maps the entity type to a stored procedure for updates.

public static Microsoft.EntityFrameworkCore.Metadata.IConventionStoredProcedure? SetUpdateStoredProcedure (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, bool fromDataAnnotation = false);
static member SetUpdateStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * bool -> Microsoft.EntityFrameworkCore.Metadata.IConventionStoredProcedure
<Extension()>
Public Function SetUpdateStoredProcedure (entityType As IConventionEntityType, Optional fromDataAnnotation As Boolean = false) As IConventionStoredProcedure

Parameters

entityType
IConventionEntityType

The entity type.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The new stored procedure.

Applies to