RelationalEntityTypeExtensions.SetDeleteStoredProcedure Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ü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:
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für