Bagikan melalui


RelationalCommandExtensions.ExecuteReader Metode

Definisi

Menjalankan perintah dengan hasil 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

Parameter

command
IRelationalCommand

Perintah yang akan dijalankan.

connection
IRelationalConnection

Koneksi yang akan dieksekusi.

Mengembalikan

Hasil perintah.

Berlaku untuk