語言

RelationalStrings.UpdateConcurrencyException(Object, Object) 方法

定義

資料庫操作原本預期會影響 {expectedRows} 的列,但實際上影響的是 {actualRows} 列;資料可能在實體載入後被修改或刪除。 請參閱 https://go.microsoft.com/fwlink/?LinkId=527962 有關理解與處理樂觀並行例外的資訊。

public static string UpdateConcurrencyException(object? expectedRows, object? actualRows);
public static string UpdateConcurrencyException(object expectedRows, object actualRows);
static member UpdateConcurrencyException : obj * obj -> string
Public Shared Function UpdateConcurrencyException (expectedRows As Object, actualRows As Object) As String

參數

expectedRows
Object
actualRows
Object

傳回

適用於