RelationalStrings.StoredProcedureInputParameterForUpdateNonSaveProperty 方法

定义

更新存储过程“{sproc}”的输入参数“{parameter}”映射到实体类型“{entityType}”的属性“{property}”,但该属性配置了 AfterSaveBehavior“{behavior}”,因此无法在更新时保存。 可能需要使用 HasOriginalValueParameter () 而不是 HasParameter () 。

public static string StoredProcedureInputParameterForUpdateNonSaveProperty (object? parameter, object? sproc, object? property, object? entityType, object? behavior);
static member StoredProcedureInputParameterForUpdateNonSaveProperty : obj * obj * obj * obj * obj -> string
Public Shared Function StoredProcedureInputParameterForUpdateNonSaveProperty (parameter As Object, sproc As Object, property As Object, entityType As Object, behavior As Object) As String

参数

parameter
Object
sproc
Object
property
Object
entityType
Object
behavior
Object

返回

适用于