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

要对其执行的连接。

返回

命令的结果。

适用于