Udostępnij za pośrednictwem


RelationalEntityTypeExtensions.SetInsertStoredProcedure Metoda

Definicja

Przeciążenia

SetInsertStoredProcedure(IConventionEntityType, Boolean)

Mapuje typ jednostki na procedurę składowaną dla wstawień.

SetInsertStoredProcedure(IMutableEntityType)

Mapuje typ jednostki na procedurę składowaną dla wstawień.

SetInsertStoredProcedure(IConventionEntityType, Boolean)

Mapuje typ jednostki na procedurę składowaną dla wstawień.

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

Parametry

entityType
IConventionEntityType

Typ jednostki.

fromDataAnnotation
Boolean

Wskazuje, czy konfiguracja została określona przy użyciu adnotacji danych.

Zwraca

Nowa procedura składowana.

Dotyczy

SetInsertStoredProcedure(IMutableEntityType)

Mapuje typ jednostki na procedurę składowaną dla wstawień.

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

Parametry

entityType
IMutableEntityType

Typ jednostki.

Zwraca

Nowa procedura składowana.

Dotyczy