RelationalEntityTypeExtensions.GetDeleteStoredProcedure 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
GetDeleteStoredProcedure(IMutableEntityType) |
Returns the stored procedure to which the entity type is mapped for deletes
or |
GetDeleteStoredProcedure(IReadOnlyEntityType) |
Returns the stored procedure to which the entity type is mapped for deletes
or |
GetDeleteStoredProcedure(IConventionEntityType) |
Returns the stored procedure to which the entity type is mapped for deletes
or |
GetDeleteStoredProcedure(IEntityType) |
Returns the stored procedure to which the entity type is mapped for deletes
or |
GetDeleteStoredProcedure(IMutableEntityType)
Returns the stored procedure to which the entity type is mapped for deletes
or null
if not mapped to a stored procedure.
public static Microsoft.EntityFrameworkCore.Metadata.IMutableStoredProcedure? GetDeleteStoredProcedure (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member GetDeleteStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableStoredProcedure
<Extension()>
Public Function GetDeleteStoredProcedure (entityType As IMutableEntityType) As IMutableStoredProcedure
Parameters
- entityType
- IMutableEntityType
The entity type.
Returns
The stored procedure to which the entity type is mapped.
Applies to
GetDeleteStoredProcedure(IReadOnlyEntityType)
Returns the stored procedure to which the entity type is mapped for deletes
or null
if not mapped to a stored procedure.
public static Microsoft.EntityFrameworkCore.Metadata.IReadOnlyStoredProcedure? GetDeleteStoredProcedure (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetDeleteStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyStoredProcedure
<Extension()>
Public Function GetDeleteStoredProcedure (entityType As IReadOnlyEntityType) As IReadOnlyStoredProcedure
Parameters
- entityType
- IReadOnlyEntityType
The entity type.
Returns
The stored procedure to which the entity type is mapped.
Applies to
GetDeleteStoredProcedure(IConventionEntityType)
Returns the stored procedure to which the entity type is mapped for deletes
or null
if not mapped to a stored procedure.
public static Microsoft.EntityFrameworkCore.Metadata.IConventionStoredProcedure? GetDeleteStoredProcedure (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
static member GetDeleteStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionStoredProcedure
<Extension()>
Public Function GetDeleteStoredProcedure (entityType As IConventionEntityType) As IConventionStoredProcedure
Parameters
- entityType
- IConventionEntityType
The entity type.
Returns
The stored procedure to which the entity type is mapped.
Applies to
GetDeleteStoredProcedure(IEntityType)
Returns the stored procedure to which the entity type is mapped for deletes
or null
if not mapped to a stored procedure.
public static Microsoft.EntityFrameworkCore.Metadata.IStoredProcedure? GetDeleteStoredProcedure (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetDeleteStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IStoredProcedure
<Extension()>
Public Function GetDeleteStoredProcedure (entityType As IEntityType) As IStoredProcedure
Parameters
- entityType
- IEntityType
The entity type.
Returns
The stored procedure to which the entity type is mapped.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för