RelationalCommandExtensions.ExecuteScalar Yöntem

Tanım

Komutu tek bir skaler sonuçla yürütür.

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

Parametreler

command
IRelationalCommand

Yürütülecek komut.

connection
IRelationalConnection

Yürütülecek bağlantı.

Döndürülenler

Komutun sonucu.

Şunlara uygulanır