共用方式為


IConventionStoredProcedure.SetIsRowsAffectedReturned(Boolean, Boolean) 方法

定義

設定此預存程式是否傳回受影響的資料列數目。

public bool SetIsRowsAffectedReturned (bool rowsAffectedReturned, bool fromDataAnnotation = false);
abstract member SetIsRowsAffectedReturned : bool * bool -> bool
Public Function SetIsRowsAffectedReturned (rowsAffectedReturned As Boolean, Optional fromDataAnnotation As Boolean = false) As Boolean

參數

rowsAffectedReturned
Boolean

值,指出是否傳回受影響的資料列數目。

fromDataAnnotation
Boolean

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

傳回

已設定的值。

適用於