RelationalEntityTypeExtensions.SetDeleteStoredProcedure Methode

Definition

Überlädt

SetDeleteStoredProcedure(IMutableEntityType)

Ordnet den Entitätstyp einer gespeicherten Prozedur für Löschvorgänge zu.

SetDeleteStoredProcedure(IConventionEntityType, Boolean)

Ordnet den Entitätstyp einer gespeicherten Prozedur für Löschvorgänge zu.

SetDeleteStoredProcedure(IMutableEntityType)

Ordnet den Entitätstyp einer gespeicherten Prozedur für Löschvorgänge zu.

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

Parameter

entityType
IMutableEntityType

Der Entitätstyp.

Gibt zurück

Die neue gespeicherte Prozedur.

Gilt für:

SetDeleteStoredProcedure(IConventionEntityType, Boolean)

Ordnet den Entitätstyp einer gespeicherten Prozedur für Löschvorgänge zu.

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

Parameter

entityType
IConventionEntityType

Der Entitätstyp.

fromDataAnnotation
Boolean

Gibt an, ob die Konfiguration mithilfe einer Datenanmerkung angegeben wurde.

Gibt zurück

Die neue gespeicherte Prozedur.

Gilt für: