共用方式為


RelationalCommandExtensions.ExecuteReader 方法

定義

使用結果執行命令 RelationalDataReader

public static Microsoft.EntityFrameworkCore.Storage.RelationalDataReader ExecuteReader (this Microsoft.EntityFrameworkCore.Storage.IRelationalCommand command, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection);
static member ExecuteReader : Microsoft.EntityFrameworkCore.Storage.IRelationalCommand * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection -> Microsoft.EntityFrameworkCore.Storage.RelationalDataReader
<Extension()>
Public Function ExecuteReader (command As IRelationalCommand, connection As IRelationalConnection) As RelationalDataReader

參數

command
IRelationalCommand

要執行的命令。

connection
IRelationalConnection

要對其執行的連線。

傳回

命令的結果。

適用於