Condividi tramite


Metodo DbCommandDispatcher.Scalar

[This page is specific to the Entity Framework version 6.0 Beta. The latest version is available as the 'Entity Framework' NuGet package. For more information, see Entity Framework Releases and Versioning.]

Spazio dei nomi  System.Data.Entity.Infrastructure.Interception
Assembly:  EntityFramework (in EntityFramework.dll)

Sintassi

'Dichiarazione
Public Overridable Function Scalar ( _
    command As DbCommand, _
    interceptionContext As DbCommandInterceptionContext _
) As Object
'Utilizzo
Dim instance As DbCommandDispatcher 
Dim command As DbCommand 
Dim interceptionContext As DbCommandInterceptionContext 
Dim returnValue As Object 

returnValue = instance.Scalar(command, _
    interceptionContext)
public virtual Object Scalar(
    DbCommand command,
    DbCommandInterceptionContext interceptionContext
)
public:
virtual Object^ Scalar(
    DbCommand^ command, 
    DbCommandInterceptionContext^ interceptionContext
)
abstract Scalar : 
        command:DbCommand * 
        interceptionContext:DbCommandInterceptionContext -> Object  
override Scalar : 
        command:DbCommand * 
        interceptionContext:DbCommandInterceptionContext -> Object
public function Scalar(
    command : DbCommand, 
    interceptionContext : DbCommandInterceptionContext
) : Object

Parametri

Valore restituito

Tipo: System.Object

Vedere anche

Riferimento

DbCommandDispatcher Classe

Spazio dei nomi System.Data.Entity.Infrastructure.Interception