語言

RuntimeStoredProcedure.AddResultColumn(String, Boolean, String) 方法

定義

新增一個儲存程序結果欄位,映射到帶有指定名稱的屬性

public virtual Microsoft.EntityFrameworkCore.Metadata.Internal.RuntimeStoredProcedureResultColumn AddResultColumn(string name, bool forRowsAffected, string? propertyName);
abstract member AddResultColumn : string * bool * string -> Microsoft.EntityFrameworkCore.Metadata.Internal.RuntimeStoredProcedureResultColumn
override this.AddResultColumn : string * bool * string -> Microsoft.EntityFrameworkCore.Metadata.Internal.RuntimeStoredProcedureResultColumn
Public Overridable Function AddResultColumn (name As String, forRowsAffected As Boolean, propertyName As String) As RuntimeStoredProcedureResultColumn

參數

name
String

結果欄的名稱。

forRowsAffected
Boolean

欄位是否包含受影響的列。

propertyName
String

對應房產的名稱。

傳回

Microsoft.EntityFrameworkCore.Metadata.Internal.RuntimeStoredProcedureResultColumn

適用於