Sdílet prostřednictvím


RelationalEntityTypeExtensions.SetInsertStoredProcedure Metoda

Definice

Přetížení

SetInsertStoredProcedure(IConventionEntityType, Boolean)

Mapuje typ entity na uloženou proceduru pro vložení.

SetInsertStoredProcedure(IMutableEntityType)

Mapuje typ entity na uloženou proceduru pro vložení.

SetInsertStoredProcedure(IConventionEntityType, Boolean)

Mapuje typ entity na uloženou proceduru pro vložení.

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 entity.

fromDataAnnotation
Boolean

Určuje, zda byla konfigurace zadána pomocí datové poznámky.

Návraty

Nová uložená procedura.

Platí pro

SetInsertStoredProcedure(IMutableEntityType)

Mapuje typ entity na uloženou proceduru pro vložení.

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 entity.

Návraty

Nová uložená procedura.

Platí pro