RelationalEntityTypeExtensions.SetInsertStoredProcedure Methode

Definition

Überlädt

SetInsertStoredProcedure(IConventionEntityType, Boolean)

Ordnet den Entitätstyp einer gespeicherten Prozedur für Einfügungen zu.

SetInsertStoredProcedure(IMutableEntityType)

Ordnet den Entitätstyp einer gespeicherten Prozedur für Einfügungen zu.

SetInsertStoredProcedure(IConventionEntityType, Boolean)

Ordnet den Entitätstyp einer gespeicherten Prozedur für Einfügungen zu.

public static Microsoft.EntityFrameworkCore.Metadata.IConventionStoredProcedure? SetInsertStoredProcedure (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, bool fromDataAnnotation = false);
static member SetInsertStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * bool -> Microsoft.EntityFrameworkCore.Metadata.IConventionStoredProcedure
<Extension()>
Public Function SetInsertStoredProcedure (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:

SetInsertStoredProcedure(IMutableEntityType)

Ordnet den Entitätstyp einer gespeicherten Prozedur für Einfügungen zu.

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

Parameter

entityType
IMutableEntityType

Der Entitätstyp.

Gibt zurück

Die neue gespeicherte Prozedur.

Gilt für: