RelationalEntityTypeExtensions.SetUpdateStoredProcedure 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
指示是否使用数据注释指定配置。
返回
新的存储过程。