RelationalEntityTypeExtensions.SetUpdateStoredProcedure Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework