ExecutionResult<TResult>(Boolean, TResult) 构造函数

定义

创建 ExecutionResult<TResult> 的新实例。

public ExecutionResult (bool successful, TResult result);
new Microsoft.EntityFrameworkCore.Storage.ExecutionResult<'Result> : bool * 'Result -> Microsoft.EntityFrameworkCore.Storage.ExecutionResult<'Result>
Public Sub New (successful As Boolean, result As TResult)

参数

successful
Boolean

true如果操作成功则为 。

result
TResult

如果成功,则为操作的结果。

适用于