RelationalEntityTypeExtensions.SetUpdateStoredProcedure 方法

定義

多載

SetUpdateStoredProcedure(IMutableEntityType)

將實體類型對應至更新的預存程式。

SetUpdateStoredProcedure(IConventionEntityType, Boolean)

將實體類型對應至更新的預存程式。

SetUpdateStoredProcedure(IMutableEntityType)

將實體類型對應至更新的預存程式。

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

參數

entityType
IMutableEntityType

實體類型。

傳回

新的預存程式。

適用於

SetUpdateStoredProcedure(IConventionEntityType, Boolean)

將實體類型對應至更新的預存程式。

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

參數

entityType
IConventionEntityType

實體類型。

fromDataAnnotation
Boolean

指出是否已使用資料批註指定組態。

傳回

新的預存程式。

適用於